Function at 0x41cb90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 0x7c]
test ecx, ecx
jle 0x41cbb1
dec ecx
mov dword [edi + 0x7c], ecx
test ecx, ecx
jle 0x41d086
mov eax, dword [edi + 0x78]
test eax, eax
jle 0x41cbc4
dec eax
mov dword [edi + 0x78], eax
test eax, eax
jle 0x41d08d
mov ebx, dword [ebp + 8]
mov byte [esp + 0x10], 0
test ebx, ebx
je 0x41d064
mov esi, 1
nop dword [eax]
mov eax, dword [ebx + 4]
cmp eax, 0x15
ja case.0x41cbec.0
jmp dword [eax*4 + 0x41d09c]
mov eax, dword [edi + 0x60]
mov dword [esp + 0x10], eax
test eax, 0x100
jne 0x41cc1a
mov eax, dword [edi]
cmp eax, dword [edi + 0x4c]
jne 0x41cc1a
mov eax, dword [esp + 0x10]
and eax, 0xffffff01
mov dword [esp + 0x10], eax
jmp 0x41d03f
mov eax, dword [edi]
cmp word [eax - 2], 0xa
setne al
mov dword [esp + 0x10], eax
jmp 0x41d03f
mov eax, dword [edi]
cmp eax, dword [edi + 0x50]
jne 0x41cc44
mov eax, dword [edi + 0x60]
shr eax, 1
and al, 1
mov dword [esp + 0x10], eax
jmp 0x41d03f
cmp word [eax], 0xa
setne al
mov dword [esp + 0x10], eax
jmp 0x41d03f
mov ecx, edi
call fcn.0041e190
mov ecx, dword [ebx + 8]
and ecx, 1
cmp al, cl
sete al
mov dword [esp + 0x10], eax
jmp 0x41d03f
mov eax, dword [edi]
cmp eax, dword [edi + 0x50]
je 0x41d05c
movzx ecx, word [eax]
cmp ecx, 0xa
je 0x41d05c
cmp ecx, 0xd
je 0x41d05c
add eax, 2
mov dword [edi], eax
jmp case.0x41cbec.1
push dword [edi + 0x5c]
mov edx, dword [ebx + 0x1c]
lea ecx, [esp + 0x2c]
mov eax, dword [ebx + 0x18]
push dword [edi + 0x70]
lea eax, [edx + eax*2]
push eax
push dword [edi + 0x50]
push dword [edi]
call fcn.0041d100
add esp, 0x14
mov eax, dword [eax]
cmp eax, dword [edi]
je 0x41d05c
mov dword [edi], eax
jmp case.0x41cbec.1
mov eax, dword [edi]
cmp eax, dword [edi + 0x50]
je 0x41d05c
push ebx
mov ecx, edi
call fcn.0041dee0
test al, al
je 0x41d05c
mov byte [esp + 0x10], 0
jmp 0x41d048
mov edx, dword [edi + 4]
cmp eax, 0xb
mov ecx, dword [edi + 8]
lea eax, [edi + 4]
mov esi, dword [edi]
sete byte [esp + 0xf]
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], edx
cmp edx, ecx
je 0x41cd50
sub ecx, edx
mov ebx, ecx
mov dword [esp + 0x20], ecx
sar ebx, 2
push ebx
call fcn.0041d880
push dword [esp + 0x20]
mov ecx, eax
push dword [esp + 0x20]
mov dword [esp + 0x1c], ecx
push ecx
lea eax, [ecx + ebx*4]
mov dword [esp + 0x24], eax
call fcn.0049afe0
mov ebx, dword [ebp + 8]
lea eax, [edi + 4]
add esp, 0xc
mov eax, dword [eax + 0xc]
mov ecx, edi
push dword [ebx + 0x14]
mov dword [esp + 0x28], eax
call fcn.0041cb90
mov dword [edi], esi
cmp al, byte [esp + 0xf]
jne 0x41cdd5
lea eax, [esp + 0x34]
lea ecx, [edi + 4]
cmp ecx, eax
je 0x41cdcd
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
sub eax, esi
mov edx, dword [ecx]
mov dword [esp + 0x1c], eax
sar eax, 2
mov dword [esp + 0x10], eax
mov eax, dword [ecx + 8]
sub eax, edx
mov dword [esp + 0x20], edx
sar eax, 2
cmp dword [esp + 0x10], eax
jbe 0x41cdad
push dword [esp + 0x10]
call fcn.0041f650
mov edx, dword [edi + 4]
mov dword [esp + 0x20], edx
push dword [esp + 0x1c]
push esi
push edx
call fcn.0049afe0
mov eax, dword [esp + 0x28]
add esp, 0xc
add eax, dword [esp + 0x20]
mov dword [edi + 8], eax
mov eax, dword [esp + 0x24]
mov dword [edi + 0x10], eax
mov al, 1
mov dword [esp + 0x10], eax
jmp 0x41cdd9
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
test edx, edx
je 0x41d03f
mov ecx, dword [esp + 0x18]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x41ce0c
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d094
push ecx
push edx
call fcn.0049789c
add esp, 8
jmp case.0x41cbec.1
mov edx, dword [ebx + 0x14]
mov ecx, dword [edi + 0x14]
mov eax, dword [edi]
mov dword [ecx + edx*8], eax
mov esi, dword [edi + 0x10]
cmp dword [ebx + 0x14], esi
jae case.0x41cbec.1
mov eax, dword [edi + 4]
dec esi
mov ecx, esi
shr ecx, 5
lea edx, [eax + ecx*4]
mov ecx, esi
mov eax, dword [edx]
and ecx, 0x1f
btr eax, ecx
mov dword [edx], eax
cmp dword [ebx + 0x14], esi
jb 0x41ce32
jmp case.0x41cbec.1
cmp byte [edi + 0x65], 0
mov esi, dword [ebx + 0x14]
jne 0x41ce67
cmp dword [esi + 0x14], 0
je case.0x41cbec.1
mov edx, dword [esi + 0x14]
mov ecx, edx
mov eax, dword [edi + 4]
and edx, 0x1f
shr ecx, 5
lea ecx, [eax + ecx*4]
mov eax, dword [ecx]
bts eax, edx
mov dword [ecx], eax
mov edx, dword [esi + 0x14]
mov ecx, dword [edi + 0x14]
mov eax, dword [edi]
mov dword [ecx + edx*8 + 4], eax
jmp case.0x41cbec.1
mov esi, dword [ebx + 0x14]
mov eax, 1
mov ecx, dword [ebx + 0x14]
mov edx, dword [edi + 4]
and ecx, 0x1f
shr esi, 5
shl eax, cl
test dword [edx + esi*4], eax
je case.0x41cbec.1
mov ecx, dword [edi + 0x14]
mov edx, dword [ebx + 0x14]
mov eax, dword [edi]
lea edx, [ecx + edx*8]
mov ecx, dword [edx]
mov edx, dword [edx + 4]
cmp ecx, edx
je 0x41cee5
push dword [edi + 0x5c]
push edx
mov edx, dword [edi + 0x70]
push ecx
push dword [edi + 0x50]
lea ecx, [esp + 0x3c]
push eax
call fcn.0041e220
add esp, 0x14
mov eax, dword [eax]
cmp eax, dword [edi]
je 0x41d05c
mov dword [edi], eax
jmp case.0x41cbec.1
push edi
lea ecx, [esp + 0x34]
call fcn.0041e970
lea eax, [esp + 0x30]
mov ecx, edi
push eax
call fcn.0041d700
push dword [ebx + 0xc]
mov ecx, edi
call fcn.0041cb90
test al, al
jne 0x41cf2a
mov ebx, dword [ebx + 0x18]
test ebx, ebx
jne 0x41cef6
lea ecx, [esp + 0x30]
call fcn.0041b0f0
mov byte [esp + 0x10], 1
jmp case.0x41cbec.12
cmp byte [edi + 0x6c], 0
je 0x41cfa2
push edi
lea ecx, [esp + 0x54]
call fcn.0041e970
mov esi, dword [edi]
sub esi, dword [esp + 0x30]
mov ebx, dword [ebx + 0x18]
sar esi, 1
mov dword [esp + 0x20], esi
test ebx, ebx
je 0x41cf8d
nop dword [eax]
lea eax, [esp + 0x30]
mov ecx, edi
push eax
call fcn.0041d700
push dword [ebx + 0xc]
mov ecx, edi
call fcn.0041cb90
test al, al
je 0x41cf86
mov esi, dword [edi]
sub esi, dword [esp + 0x30]
sar esi, 1
cmp dword [esp + 0x20], esi
jge 0x41cf86
push edi
lea ecx, [esp + 0x54]
call fcn.0041d700
mov dword [esp + 0x20], esi
mov ebx, dword [ebx + 0x18]
test ebx, ebx
jne 0x41cf50
lea eax, [esp + 0x50]
mov ecx, edi
push eax
call fcn.0041d700
lea ecx, [esp + 0x50]
call fcn.0041b0f0
lea ecx, [esp + 0x30]
call fcn.0041b0f0
jmp case.0x41cbec.12
mov eax, dword [ebx + 8]
shr eax, 1
and al, 1
push 0
movzx eax, al
push eax
push ebx
mov ecx, edi
call fcn.0041dda0
mov edx, dword [esp + 0x10]
test al, al
movzx ecx, dl
cmove ecx, esi
mov byte [esp + 0x10], cl
jmp case.0x41cbec.12
mov edx, dword [ebx + 0x14]
cmp dword [edx + 0x24], 0
jne case.0x41cbec.12
mov eax, dword [edi + 0x40]
mov ecx, dword [edx + 0x20]
push dword [eax + ecx*8]
mov eax, dword [edx + 8]
shr eax, 1
and al, 1
movzx eax, al
push eax
push edx
jmp 0x41cfbe
test dword [edi + 0x60], 0x2020
je 0x41d007
mov eax, dword [edi + 0x4c]
cmp eax, dword [edi]
je 0x41d014
cmp byte [edi + 0x74], 0
je 0x41d01b
mov eax, dword [edi]
cmp eax, dword [edi + 0x50]
je 0x41d01b
mov byte [esp + 0x10], 1
jmp case.0x41cbec.12
cmp byte [edi + 0x64], 0
je 0x41d02c
mov ecx, edi
call fcn.0041e0f0
test al, al
je case.0x41cbec.12
push edi
lea ecx, [edi + 0x20]
call fcn.0041d700
mov byte [edi + 0x64], 1
xor ebx, ebx
mov eax, dword [esp + 0x10]
test al, al
jne 0x41d061
mov esi, 1
test ebx, ebx
je 0x41d061
mov ebx, dword [ebx + 0xc]
mov dword [ebp + 8], ebx
test ebx, ebx
jne 0x41cbe0
jmp 0x41d061
mov byte [esp + 0x10], 1
mov ecx, dword [edi + 0x7c]
test ecx, ecx
jle 0x41d06e
lea eax, [ecx + 1]
mov dword [edi + 0x7c], eax
cmp byte [esp + 0x10], 0
pop edi
pop esi
sete al
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0xd
call fcn.00496ae0
push 0xc
call fcn.00496ae0
push 0xb
call fcn.00496ae0
call fcn.0049e530
nop dword [eax]
jg 0x41d06e
inc ecx
add byte [ebx], bh
rol byte [ecx], 1
retf