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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [0x49b5bc]
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebx + 0x1278]
mov edi, dword [eax + ecx*8]
lea esi, [eax + ecx*8]
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], esi
test edi, edi
je 0x424804
cmp edi, dword [ebx + 0x1270]
jne 0x42456e
mov dword [ebx + 0x1270], 0
cmp edx, 1
jne 0x424593
cmp word [edi + 0x1a], 0
jne 0x424593
push edi
call fcn.0045f3ea
add esp, 4
mov dword [esi], 0
dec dword [ebx + 0x3c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test byte [edi + 0x7c], 0x40
mov eax, dword [edi + 8]
mov dword [ebp - 0x10], eax
je 0x4245f4
mov esi, dword [eax + 0x1278]
xor ebx, ebx
cmp dword [eax + 0x3c], ebx
jle 0x4245f1
nop dword [eax]
mov ecx, dword [esi]
test ecx, ecx
jne 0x4245c0
mov ecx, dword [esi + 8]
add esi, 8
test ecx, ecx
je 0x4245b6
test byte [ecx + 0x78], 0x10
je 0x4245e8
cmp dword [ecx + 0xcc], 0xd
jne 0x4245e8
cmp dword [ecx + 0x182], edi
jne 0x4245e8
cmp dword [ecx + 0x17e], 0
je 0x4245e8
call fcn.00443c60
mov eax, dword [ebp - 0x10]
inc ebx
add esi, 8
cmp ebx, dword [eax + 0x3c]
jl 0x4245b0
mov ebx, dword [ebp - 8]
mov ecx, edi
call fcn.004431f0
mov eax, dword [edi + 0x80]
test eax, eax
je 0x424624
lea esi, [eax + edi]
mov eax, dword [esi]
test eax, eax
je 0x42461d
push eax
call fcn.0045f3ea
add esp, 4
mov dword [esi], 0
mov ecx, esi
call fcn.0040ded0
mov eax, dword [edi + 0x78]
and eax, 0xc0
cmp al, 0xc0
jne 0x424636
dec dword [ebx + 0x518]
mov eax, dword [0x49a08c]
mov esi, 0x49a08c
cmp eax, 0xffff
je 0x42466f
mov ebx, dword [ebp - 4]
nop word [eax + eax]
test dword [edi + 0x78], eax
je 0x42465f
mov eax, dword [esi + 4]
push ebx
push edi
call eax
add esp, 8
mov eax, dword [esi + 8]
add esi, 8
cmp eax, 0xffff
jne 0x424650
mov ebx, dword [ebp - 8]
movzx eax, word [edi + 0x18]
movsx ecx, ax
cmp ax, 0x20
jge 0x424692
mov eax, dword [ecx*4 + 0x49a0c4]
test eax, eax
je 0x4246af
push dword [ebp - 4]
push edi
call eax
add esp, 8
jmp 0x4246af
mov eax, dword [ebx + 0x1d4]
imul ecx, ecx, 0x92
mov eax, dword [ecx + eax - 0x123c]
test eax, eax
je 0x4246af
push dword [ebp - 4]
push edi
call eax
test dword [edi + 0x78], 0x200
je 0x4246dc
mov esi, dword [edi + 0xbc]
cmp word [esi + edi + 0x18], 0xd
jne 0x4246dc
mov ecx, dword [esi + edi + 0x1c]
test ecx, ecx
je 0x4246d4
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + edi + 0x1c], 0
mov eax, dword [edi + 0x1c]
mov esi, dword [0x49b5bc]
dec dword [eax + 0x10]
movzx ecx, word [edi + 0x14]
mov dword [ebp - 0x10], ecx
movsx eax, cx
test cx, cx
js 0x424734
mov esi, dword [esi + 0x1278]
movzx edx, word [edi + 0x16]
mov ecx, dword [esi + eax*8]
test dx, dx
js 0x424725
movsx eax, dx
mov esi, dword [esi + eax*8]
test ecx, ecx
je 0x424717
mov word [ecx + 0x16], dx
test esi, esi
je 0x424770
mov ax, word [edi + 0x14]
mov word [esi + 0x14], ax
jmp 0x424770
test ecx, ecx
je 0x424770
mov eax, 0xffff8000
mov word [ecx + 0x16], ax
jmp 0x424770
and eax, 0x7fff
imul edx, eax, 0x92
movzx eax, word [edi + 0x16]
add edx, dword [esi + 0x58]
test ax, ax
js 0x424767
movsx ecx, ax
mov eax, dword [esi + 0x1278]
mov eax, dword [eax + ecx*8]
test eax, eax
je 0x424770
mov ecx, dword [ebp - 0x10]
mov word [eax + 0x14], cx
mov ax, word [eax]
jmp 0x42476c
mov eax, 0xffff8000
mov word [edx + 6], ax
test byte [ebx + 0x28], 0x20
je 0x424798
mov ecx, dword [0x49b5b4]
movsx edx, word [edi + 0x12]
cmp edx, dword [ecx + 0x194]
jge 0x424798
mov eax, dword [ecx + 0x198]
movzx eax, word [eax + edx*2]
mov dword [ecx + 0x1a0], eax
xor eax, eax
test dword [edi + 0x78], 0x200
je 0x4247c8
cmp dword [ebp - 4], eax
je 0x4247b1
mov ecx, edi
call fcn.0040c030
jmp 0x4247c8
mov ecx, dword [edi + 0xbc]
test dword [ecx + edi + 0x10], 0x2000
je 0x4247c8
test byte [ecx + edi + 0x20], 4
je 0x4247cd
mov eax, 1
xor ecx, ecx
mov word [edi + 0x1a], cx
test eax, eax
je 0x4247fa
push edi
call fcn.0045f3ea
mov eax, dword [ebp - 0xc]
add esp, 4
pop edi
mov dword [eax], 0
dec dword [ebx + 0x3c]
pop esi
mov dword [eax + 4], 0
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0xc]
mov dword [eax + 4], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret