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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [0x4a25dc]
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 0x4269f4
cmp edi, dword [ebx + 0x1270]
jne 0x42675e
mov dword [ebx + 0x1270], 0
cmp edx, 1
jne 0x426783
cmp word [edi + 0x1a], 0
jne 0x426783
push edi
call fcn.0046622a
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 0x4267e4
mov esi, dword [eax + 0x1278]
xor ebx, ebx
cmp dword [eax + 0x3c], ebx
jle 0x4267e1
nop dword [eax]
mov ecx, dword [esi]
test ecx, ecx
jne 0x4267b0
mov ecx, dword [esi + 8]
add esi, 8
test ecx, ecx
je 0x4267a6
test byte [ecx + 0x78], 0x10
je 0x4267d8
cmp dword [ecx + 0xcc], 0xd
jne 0x4267d8
cmp dword [ecx + 0x182], edi
jne 0x4267d8
cmp dword [ecx + 0x17e], 0
je 0x4267d8
call fcn.00446530
mov eax, dword [ebp - 0x10]
inc ebx
add esi, 8
cmp ebx, dword [eax + 0x3c]
jl 0x4267a0
mov ebx, dword [ebp - 8]
mov ecx, edi
call fcn.00445ac0
mov eax, dword [edi + 0x80]
test eax, eax
je 0x426814
lea esi, [eax + edi]
mov eax, dword [esi]
test eax, eax
je 0x42680d
push eax
call fcn.0046622a
add esp, 4
mov dword [esi], 0
mov ecx, esi
call fcn.0040ebd0
mov eax, dword [edi + 0x78]
and eax, 0xc0
cmp al, 0xc0
jne 0x426826
dec dword [ebx + 0x518]
mov eax, dword [0x4a108c]
mov esi, 0x4a108c
cmp eax, 0xffff
je 0x42685f
mov ebx, dword [ebp - 4]
nop word [eax + eax]
test dword [edi + 0x78], eax
je 0x42684f
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 0x426840
mov ebx, dword [ebp - 8]
movzx eax, word [edi + 0x18]
movsx ecx, ax
cmp ax, 0x20
jge 0x426882
mov eax, dword [ecx*4 + 0x4a10c4]
test eax, eax
je 0x42689f
push dword [ebp - 4]
push edi
call eax
add esp, 8
jmp 0x42689f
mov eax, dword [ebx + 0x1d4]
imul ecx, ecx, 0x92
mov eax, dword [ecx + eax - 0x123c]
test eax, eax
je 0x42689f
push dword [ebp - 4]
push edi
call eax
test dword [edi + 0x78], 0x200
je 0x4268cc
mov esi, dword [edi + 0xbc]
cmp word [esi + edi + 0x18], 0xd
jne 0x4268cc
mov ecx, dword [esi + edi + 0x1c]
test ecx, ecx
je 0x4268c4
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + edi + 0x1c], 0
mov eax, dword [edi + 0x1c]
mov esi, dword [0x4a25dc]
dec dword [eax + 0x10]
movzx ecx, word [edi + 0x14]
mov dword [ebp - 0x10], ecx
movsx eax, cx
test cx, cx
js 0x426924
mov esi, dword [esi + 0x1278]
movzx edx, word [edi + 0x16]
mov ecx, dword [esi + eax*8]
test dx, dx
js 0x426915
movsx eax, dx
mov esi, dword [esi + eax*8]
test ecx, ecx
je 0x426907
mov word [ecx + 0x16], dx
test esi, esi
je 0x426960
mov ax, word [edi + 0x14]
mov word [esi + 0x14], ax
jmp 0x426960
test ecx, ecx
je 0x426960
mov eax, 0xffff8000
mov word [ecx + 0x16], ax
jmp 0x426960
and eax, 0x7fff
imul edx, eax, 0x92
movzx eax, word [edi + 0x16]
add edx, dword [esi + 0x58]
test ax, ax
js 0x426957
movsx ecx, ax
mov eax, dword [esi + 0x1278]
mov eax, dword [eax + ecx*8]
test eax, eax
je 0x426960
mov ecx, dword [ebp - 0x10]
mov word [eax + 0x14], cx
mov ax, word [eax]
jmp 0x42695c
mov eax, 0xffff8000
mov word [edx + 6], ax
test byte [ebx + 0x28], 0x20
je 0x426988
mov ecx, dword [0x4a25d4]
movsx edx, word [edi + 0x12]
cmp edx, dword [ecx + 0x194]
jge 0x426988
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 0x4269b8
cmp dword [ebp - 4], eax
je 0x4269a1
mov ecx, edi
call fcn.0040cd30
jmp 0x4269b8
mov ecx, dword [edi + 0xbc]
test dword [ecx + edi + 0x10], 0x2000
je 0x4269b8
test byte [ecx + edi + 0x20], 4
je 0x4269bd
mov eax, 1
xor ecx, ecx
mov word [edi + 0x1a], cx
test eax, eax
je 0x4269ea
push edi
call fcn.0046622a
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