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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, 1
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x40], 0
je 0x41beda
cmp byte [esi + 0x25], 0
je 0x41beda
mov eax, dword [esi + 0x50]
lea edi, [esi + 0x3c]
mov ebx, dword [esi + 0x78]
xor edx, edx
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x54]
mov dword [esp + 0x34], eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edx
jmp 0x41bceb
mov edx, dword [esp + 0x18]
mov ecx, dword [esi + 0x38]
mov eax, dword [edi]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], eax
cmp ecx, eax
jne 0x41bd2e
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
test edx, edx
jne 0x41bd2e
mov ecx, dword [ebp + 8]
push edi
push dword [esi + 0x2c]
mov dword [edi], edx
push dword [esi + 0x40]
mov dword [esi + 0x38], edx
mov eax, dword [ecx]
push ecx
call dword [eax + 0xc]
mov ecx, dword [edi]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x38]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
mov ecx, dword [esi + 0x74]
mov eax, dword [esi + 0x78]
sub ecx, ebx
add ebx, dword [esi + 0x28]
cmp ecx, dword [esi + 0x28]
mov dword [esp + 0x24], eax
cmovbe ebx, dword [esi + 0x74]
xor edx, edx
sub ebx, eax
cmp byte [esi + 0x26], dl
je 0x41bd72
mov ecx, dword [esi + 0x48]
sub ecx, dword [esi + 0x58]
mov eax, dword [esi + 0x4c]
sbb eax, dword [esi + 0x5c]
xor edi, edi
cmp edi, eax
jb 0x41bd72
ja 0x41bd65
cmp ebx, ecx
jb 0x41bd72
cmp byte [esi + 0x24], dl
mov eax, 1
mov ebx, ecx
cmovne edx, eax
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
sub eax, ecx
mov dword [esp + 0x20], eax
lea eax, [esp + 0x28]
push eax
push edx
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x28]
push eax
mov eax, dword [esi + 0x40]
add eax, ecx
lea ecx, [esi + 0x60]
push eax
lea edx, [ebx + edx]
call fcn.00406420
mov ecx, dword [esi + 0x78]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
add dword [esi + 0x38], eax
add dword [esi + 0x50], eax
mov eax, 0
mov dword [esi + 0x34], edi
adc dword [esi + 0x54], 0
sub ecx, dword [esp + 0x24]
mov edx, ecx
add edx, dword [esi + 0x58]
mov dword [esi + 0x58], edx
adc eax, dword [esi + 0x5c]
cmp byte [esi + 0x26], 0
mov dword [esi + 0x5c], eax
je 0x41bde9
cmp eax, dword [esi + 0x4c]
jb 0x41bde9
ja 0x41bde5
cmp edx, dword [esi + 0x48]
jb 0x41bde9
mov al, 1
jmp 0x41bdeb
xor al, al
cmp dword [esp + 0x1c], 0
mov byte [esp + 0x12], al
jne 0x41be1e
cmp dword [esp + 0x20], 0
jne 0x41be01
test ecx, ecx
je 0x41be1e
cmp edi, 1
je 0x41be1e
test al, al
je 0x41be0f
cmp edi, 3
jne 0x41be1e
mov byte [esp + 0x13], 0
cmp ecx, ebx
jb 0x41be5e
mov bl, byte [esp + 0x13]
jmp 0x41be20
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.00419340
mov ecx, eax
mov eax, dword [esi + 0x78]
mov dword [esp + 0x14], eax
cmp eax, dword [esi + 0x74]
jne 0x41be52
xor eax, eax
mov dword [esi + 0x78], 0
mov dword [esp + 0x14], eax
test ecx, ecx
jne 0x41bf07
test bl, bl
jne 0x41bead
mov edx, dword [ebp + 0x10]
lea edi, [esi + 0x3c]
mov ebx, dword [esp + 0x14]
test edx, edx
je 0x41bce7
mov ecx, dword [esi + 0x50]
sub ecx, dword [esp + 0x30]
mov eax, dword [esi + 0x54]
sbb eax, dword [esp + 0x34]
mov dword [esp + 0x38], ecx
lea ecx, [esi + 0x58]
push ecx
mov dword [esp + 0x40], eax
lea ecx, [esp + 0x3c]
mov eax, dword [edx]
push ecx
push edx
call dword [eax + 0xc]
mov edx, dword [esp + 0x18]
lea edi, [esi + 0x3c]
test eax, eax
je 0x41bceb
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [esp + 0x1c], 0
jne 0x41bed5
cmp edi, 1
jne 0x41bee3
cmp byte [esi + 0x24], 0
je 0x41befa
cmp byte [esi + 0x26], 0
je 0x41befa
mov eax, dword [esi + 0x48]
cmp eax, dword [esi + 0x58]
jne 0x41bed5
mov eax, dword [esi + 0x4c]
cmp eax, dword [esi + 0x5c]
je 0x41befa
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp byte [esp + 0x12], 0
je 0x41bed5
cmp edi, 3
je 0x41bed5
cmp byte [esi + 0x24], 0
je 0x41befa
cmp edi, 4
jne 0x41bed5
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
pop edi
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc