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

Disassembly:
sub esp, 0x4c
mov dword [esp + 0x3c], ebx
mov ebx, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
mov dword [esp + 0x40], esi
test ebx, ebx
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], ebp
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
je 0x419e4f
mov ebp, dword [ebx + 0x38]
xor esi, esi
xor edi, edi
mov edx, dword [ebx + 0x28]
mov ecx, dword [ebx + 0x2c]
test ebp, ebp
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ecx
je 0x419d28
mov ecx, dword [esp + 0x5c]
mov eax, 0xffffffea
mov edx, 0xffffffff
and ecx, 0xfffdffff
cmp ecx, 1
ja 0x419d14
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
sub eax, esi
sbb edx, edi
cmp ecx, 1
mov esi, eax
mov edi, edx
je 0x419de8
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
mov esi, eax
mov eax, dword [ebx + 0x30]
sbb edx, edi
mov edi, edx
test eax, eax
jne 0x419c8a
mov eax, dword [ebx + 0x68]
test eax, eax
jne 0x419c83
test edi, edi
js 0x419c8a
mov edx, dword [ebx + 4]
mov ecx, dword [ebx + 0x10]
mov dword [esp + 0x2c], edx
sub ecx, edx
mov edx, ecx
sar edx, 0x1f
cmp edi, edx
jg 0x419c8a
jge 0x419e22
add esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [ebx + 0xc], esi
jmp 0x419d0d
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x419c50
mov eax, dword [ebx + 0x58]
test eax, eax
jne 0x419d38
test edi, edi
jns 0x419d65
test ebp, ebp
nop
je 0x419cb0
mov eax, ebx
call fcn.00419370
mov dword [ebx + 0x30], 1
mov ecx, dword [ebx + 0x20]
mov eax, 0xffffffe0
mov edx, 0xffffffff
test ecx, ecx
je 0x419d14
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0xc], 0
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [ebx + 0x14]
mov dword [esp], eax
call ecx
mov ecx, edx
test ecx, ecx
js 0x419d14
mov ebp, dword [ebx + 0x38]
add dword [ebx + 0x78], 1
mov eax, dword [ebx + 4]
test ebp, ebp
jne 0x419cf8
mov dword [ebx + 0x10], eax
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x28], edx
mov eax, edx
mov dword [ebx + 0x2c], ecx
mov edx, ecx
mov dword [ebx + 0x34], 0
mov ebx, dword [esp + 0x3c]
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x44]
mov ebp, dword [esp + 0x48]
add esp, 0x4c
ret
mov esi, dword [ebx + 0x10]
sub esi, dword [ebx + 4]
mov edi, esi
sar edi, 0x1f
jmp 0x419bfc
mov ecx, dword [ebx + 0x10]
add ecx, 0x1000
sub ecx, dword [ebx + 4]
mov edx, ecx
sar edx, 0x1f
cmp edi, edx
jg 0x419c9d
jl 0x419c95
cmp esi, ecx
ja 0x419c9d
nop
jmp 0x419c95
test ebp, ebp
jne 0x419c9d
mov esi, dword [ebx + 0x68]
test esi, esi
jne 0x419e12
mov ecx, dword [esp + 0x24]
cmp dword [esp + 0x1c], ecx
jl 0x419dc6
jg 0x419d8e
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x18], eax
jbe 0x419dc6
mov ecx, dword [ebx + 0x34]
mov eax, 0xdfb9b0bb
mov edx, 0xffffffff
test ecx, ecx
jne 0x419d14
mov eax, ebx
call fcn.004195e0
mov edx, dword [ebx + 0x2c]
cmp dword [esp + 0x1c], edx
mov eax, dword [ebx + 0x28]
jl 0x419dbe
jg 0x419e35
cmp dword [esp + 0x18], eax
ja 0x419e35
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
mov eax, dword [ebx + 0x34]
test eax, eax
jne 0x419e40
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x20]
add eax, dword [ebx + 0x10]
mov edx, dword [esp + 0x1c]
mov dword [ebx + 0xc], eax
mov eax, dword [esp + 0x18]
jmp 0x419d0d
mov eax, dword [ebx + 0xc]
sub eax, dword [ebx + 4]
mov ecx, dword [esp + 0x1c]
mov edx, eax
sar edx, 0x1f
add eax, esi
adc edx, edi
or ecx, dword [esp + 0x18]
je 0x419d14
add dword [esp + 0x18], eax
adc dword [esp + 0x1c], edx
jmp 0x419c32
mov ecx, dword [ebx + 0x20]
test ecx, ecx
jne 0x419cc1
jmp 0x419d78
cmp esi, ecx
ja 0x419c8a
lea esi, [esi]
jmp 0x419c6f
mov eax, dword [ebx + 0x34]
test eax, eax
je 0x419da3
mov eax, 0xdfb9b0bb
mov edx, 0xffffffff
jmp 0x419d14
mov eax, 0xffffffea
mov edx, 0xffffffff
jmp 0x419d14