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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x4fb744]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x14]
mov edx, dword [eax + 0x24]
add edx, edx
mov eax, 0xaaaaaaab
mul edx
xor ecx, ecx
push esi
shr edx, 1
push edi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x20], ecx
mov edi, dword [ebx + 0x74]
cmp dword [edi + 0x14], 0
mov dword [ebp - 0x1c], edi
jge 0x4557cb
call fcn.00451110
test eax, eax
jne 0x455997
mov cl, byte [edi + 0xc]
test cl, cl
jne 0x4557de
mov eax, dword [ebp - 0x2c]
cmp dword [edi + 0x14], eax
jle 0x455997
movsx eax, byte [ebx + 0x44]
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x45581d
test cl, cl
je 0x455997
lea esi, [ebx + 0x7c]
push esi
mov eax, edi
call fcn.00455630
add esp, 4
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x455997
mov eax, dword [esi]
xor ecx, ecx
mov byte [ebx + 0x44], 1
mov dword [ebx + 0x46], ecx
mov dword [ebx + 0x78], edi
mov dword [ebx + 0x74], eax
jmp 0x4557b2
mov esi, dword [ebx + eax*4 + 0x74]
movzx ecx, word [ebx + eax*2 + 0x46]
mov edi, dword [esi + 0x48]
test byte [edi + 0x1c], 4
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x28], ecx
je 0x45585d
mov edx, dword [eax + 0x18]
cmp edx, dword [edi + 0x18]
jb 0x45585d
cmp dword [eax + 0x60], 0
je 0x455896
mov ecx, edi
call fcn.00415740
test eax, eax
je 0x455859
push edi
call fcn.00433be0
add esp, 4
jmp 0x455889
xor eax, eax
jmp 0x455889
mov ecx, dword [eax + 0x28]
test ecx, ecx
je 0x455869
mov dword [ebp - 0x18], ecx
jmp 0x45588c
mov ecx, dword [eax + 0x94]
cmp ecx, dword [eax + 0x98]
jbe 0x455882
push edi
call fcn.00433e30
add esp, 4
jmp 0x455889
mov eax, edi
call fcn.00433d90
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x455924
cmp dword [esi + 0x14], 0
jge 0x4558aa
mov edi, esi
call fcn.00451110
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x455924
mov edi, dword [ebp - 0x1c]
cmp byte [edi + 3], 0
je 0x4558e4
cmp byte [edi + 0xc], 1
jne 0x4558e4
mov dx, word [edi + 0x1c]
cmp dx, word [edi + 0x18]
jne 0x4558e4
cmp dword [esi + 4], 1
je 0x4558e4
movzx eax, word [esi + 0x18]
cmp eax, dword [ebp - 0x28]
jne 0x4558e4
push edi
push esi
lea ecx, [ebp - 0x14]
call fcn.00453db0
add esp, 8
mov dword [ebp - 0x18], eax
jmp 0x455927
mov ecx, dword [ebx + 0x14]
mov eax, dword [ecx + 0x20]
push eax
call fcn.004284f0
movzx edx, byte [ebx + 3]
mov edi, eax
and edx, 1
xor eax, eax
cmp dword [ebp - 0x24], 1
push edx
mov edx, dword [ebp - 0x28]
sete al
mov ecx, edi
push eax
push esi
call fcn.00454070
mov esi, dword [ebp - 0x20]
add esp, 0x10
mov dword [ebp - 0x18], eax
test esi, esi
je 0x455921
call fcn.00414d80
mov dword [ebp - 0x20], edi
mov edi, dword [ebp - 0x1c]
mov eax, dword [edi + 0x48]
mov byte [edi + 0xc], 0
test byte [eax + 0x1c], 0x20
je 0x45597a
mov ecx, dword [eax + 0x14]
dec dword [ecx + 0x78]
mov edx, dword [ecx + 0x88]
mov dword [eax + 0x10], edx
mov esi, dword [ecx + 0x3c]
mov dword [ecx + 0x88], eax
mov edx, dword [eax + 4]
mov eax, dword [eax + 0x18]
mov edi, dword [esi]
dec eax
push edx
mov dword [ebp - 0x24], eax
mov eax, dword [ecx + 0x98]
cdq
push edx
push eax
mov eax, dword [ebp - 0x24]
push 0
push eax
call fcn.004b5250
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
add esp, 0x10
jmp 0x45597f
call fcn.00414640
dec byte [ebx + 0x44]
cmp dword [ebp - 0x18], 0
movsx ecx, byte [ebx + 0x44]
mov edx, dword [ebx + ecx*4 + 0x78]
mov dword [ebx + 0x74], edx
je 0x4557b2
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x4559a3
call fcn.00414d80
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x18]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b3f21
mov esp, ebp
pop ebp
ret