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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x40], 0
je 0x41ced9
cmp byte [esi + 0x25], 0
je 0x41ced9
mov eax, dword [esi + 0x50]
lea ecx, [esi + 0x3c]
mov dword [esp + 0x28], eax
xor edx, edx
mov eax, dword [esi + 0x54]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x78]
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], edx
jmp 0x41ccf6
mov edx, dword [esp + 0xc]
mov eax, dword [esi + 0x38]
cmp eax, dword [ecx]
jne 0x41cd1a
test edx, edx
jne 0x41cd1a
mov dword [ecx], edx
mov dword [esi + 0x38], edx
mov edx, dword [ebp + 8]
push ecx
push dword [esi + 0x2c]
push dword [esi + 0x40]
mov eax, dword [edx]
push edx
call dword [eax + 0xc]
mov dword [esp + 0xc], eax
mov edi, dword [esi + 0x74]
mov ecx, edi
mov eax, dword [esp + 0x14]
sub ecx, eax
mov edx, dword [esi + 0x28]
mov ebx, dword [esi + 0x78]
cmp ecx, edx
jbe 0x41cd32
lea edi, [edx + eax]
xor edx, edx
sub edi, ebx
cmp byte [esi + 0x26], dl
je 0x41cd5e
mov ecx, dword [esi + 0x48]
sub ecx, dword [esi + 0x58]
mov eax, dword [esi + 0x4c]
sbb eax, dword [esi + 0x5c]
cmp edx, eax
jb 0x41cd5e
ja 0x41cd51
cmp edi, ecx
jb 0x41cd5e
cmp byte [esi + 0x24], dl
mov eax, 1
mov edi, ecx
cmovne edx, eax
mov eax, dword [esi + 0x3c]
lea ecx, [esi + 0x60]
sub eax, dword [esi + 0x38]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x20]
push eax
push edx
lea eax, [esp + 0x18]
push eax
mov eax, dword [esi + 0x40]
lea edx, [edi + ebx]
add eax, dword [esi + 0x38]
push eax
call fcn.00406640
mov ecx, dword [esp + 0x20]
lea edx, [esi + 0x58]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x10]
add dword [esi + 0x38], eax
add dword [esi + 0x50], eax
mov eax, dword [esi + 0x78]
adc dword [esi + 0x54], 0
sub eax, ebx
add dword [edx], eax
mov dword [esi + 0x34], ecx
adc dword [edx + 4], 0
cmp byte [esi + 0x26], 0
mov dword [esp + 0x18], eax
je 0x41cdcb
mov eax, dword [edx + 4]
cmp eax, dword [esi + 0x4c]
jb 0x41cdcb
ja 0x41cdc7
mov eax, dword [edx]
cmp eax, dword [esi + 0x48]
jb 0x41cdcb
mov bh, 1
jmp 0x41cdcd
xor bh, bh
cmp dword [esp + 0x1c], 0
jne 0x41cdf9
cmp dword [esp + 0x10], 0
mov eax, dword [esp + 0x18]
jne 0x41cde3
test eax, eax
je 0x41cdf9
cmp ecx, 1
je 0x41cdf9
test bh, bh
je 0x41cdf1
cmp ecx, 3
jne 0x41cdf9
xor bl, bl
cmp eax, edi
jb 0x41ce37
jmp 0x41cdfb
mov bl, 1
mov ecx, dword [esi + 0x78]
sub ecx, dword [esp + 0x14]
mov edx, dword [esi + 0x70]
add edx, dword [esp + 0x14]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.0041a530
mov ecx, dword [esi + 0x78]
cmp ecx, dword [esi + 0x74]
jne 0x41ce21
mov dword [esi + 0x78], 0
mov ecx, dword [esi + 0x78]
mov dword [esp + 0x14], ecx
test eax, eax
jne 0x41cede
test bl, bl
jne 0x41ce7f
lea edx, [esi + 0x58]
mov ebx, dword [ebp + 0x10]
lea ecx, [esi + 0x3c]
test ebx, ebx
je 0x41ccf2
mov ecx, dword [esi + 0x50]
sub ecx, dword [esp + 0x28]
mov eax, dword [esi + 0x54]
sbb eax, dword [esp + 0x2c]
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0x30]
push edx
mov dword [esp + 0x38], eax
mov eax, dword [ebx]
push ecx
push ebx
call dword [eax + 0xc]
mov edx, dword [esp + 0xc]
lea ecx, [esi + 0x3c]
test eax, eax
je 0x41ccf6
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [esp + 0x1c], 0
jne 0x41ced9
mov eax, dword [esp + 0x20]
cmp eax, 1
jne 0x41ceb8
cmp byte [esi + 0x24], 0
je 0x41cecc
cmp byte [esi + 0x26], 0
je 0x41cecc
mov eax, dword [esi + 0x48]
cmp eax, dword [esi + 0x58]
jne 0x41ced9
mov eax, dword [esi + 0x4c]
cmp eax, dword [esi + 0x5c]
jne 0x41ced9
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
test bh, bh
je 0x41ced9
cmp eax, 3
je 0x41ced9
cmp byte [esi + 0x24], 0
je 0x41cecc
cmp eax, 4
jne 0x41ced9
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc