Function at 0x426600
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 0x4268d4
cmp edi, dword [ebx + 0x1270]
jne 0x42663e
mov dword [ebx + 0x1270], 0
cmp edx, 1
jne 0x426663
cmp word [edi + 0x1a], 0
jne 0x426663
push edi
call fcn.0046600a
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 0x4266c4
mov esi, dword [eax + 0x1278]
xor ebx, ebx
cmp dword [eax + 0x3c], ebx
jle 0x4266c1
nop dword [eax]
mov ecx, dword [esi]
test ecx, ecx
jne 0x426690
mov ecx, dword [esi + 8]
add esi, 8
test ecx, ecx
je 0x426686
test byte [ecx + 0x78], 0x10
je 0x4266b8
cmp dword [ecx + 0xcc], 0xd
jne 0x4266b8
cmp dword [ecx + 0x182], edi
jne 0x4266b8
cmp dword [ecx + 0x17e], 0
je 0x4266b8
call fcn.00446390
mov eax, dword [ebp - 0x10]
inc ebx
add esi, 8
cmp ebx, dword [eax + 0x3c]
jl 0x426680
mov ebx, dword [ebp - 8]
mov ecx, edi
call fcn.00445920
mov eax, dword [edi + 0x80]
test eax, eax
je 0x4266f4
lea esi, [eax + edi]
mov eax, dword [esi]
test eax, eax
je 0x4266ed
push eax
call fcn.0046600a
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 0x426706
dec dword [ebx + 0x518]
mov eax, dword [0x4a108c]
mov esi, 0x4a108c
cmp eax, 0xffff
je 0x42673f
mov ebx, dword [ebp - 4]
nop word [eax + eax]
test dword [edi + 0x78], eax
je 0x42672f
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 0x426720
mov ebx, dword [ebp - 8]
movzx eax, word [edi + 0x18]
movsx ecx, ax
cmp ax, 0x20
jge 0x426762
mov eax, dword [ecx*4 + 0x4a10c4]
test eax, eax
je 0x42677f
push dword [ebp - 4]
push edi
call eax
add esp, 8
jmp 0x42677f
mov eax, dword [ebx + 0x1d4]
imul ecx, ecx, 0x92
mov eax, dword [ecx + eax - 0x123c]
test eax, eax
je 0x42677f
push dword [ebp - 4]
push edi
call eax
test dword [edi + 0x78], 0x200
je 0x4267ac
mov esi, dword [edi + 0xbc]
cmp word [esi + edi + 0x18], 0xd
jne 0x4267ac
mov ecx, dword [esi + edi + 0x1c]
test ecx, ecx
je 0x4267a4
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 0x426804
mov esi, dword [esi + 0x1278]
movzx edx, word [edi + 0x16]
mov ecx, dword [esi + eax*8]
test dx, dx
js 0x4267f5
movsx eax, dx
mov esi, dword [esi + eax*8]
test ecx, ecx
je 0x4267e7
mov word [ecx + 0x16], dx
test esi, esi
je 0x426840
mov ax, word [edi + 0x14]
mov word [esi + 0x14], ax
jmp 0x426840
test ecx, ecx
je 0x426840
mov eax, 0xffff8000
mov word [ecx + 0x16], ax
jmp 0x426840
and eax, 0x7fff
imul edx, eax, 0x92
movzx eax, word [edi + 0x16]
add edx, dword [esi + 0x58]
test ax, ax
js 0x426837
movsx ecx, ax
mov eax, dword [esi + 0x1278]
mov eax, dword [eax + ecx*8]
test eax, eax
je 0x426840
mov ecx, dword [ebp - 0x10]
mov word [eax + 0x14], cx
mov ax, word [eax]
jmp 0x42683c
mov eax, 0xffff8000
mov word [edx + 6], ax
test byte [ebx + 0x28], 0x20
je 0x426868
mov ecx, dword [0x4a25d4]
movsx edx, word [edi + 0x12]
cmp edx, dword [ecx + 0x194]
jge 0x426868
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 0x426898
cmp dword [ebp - 4], eax
je 0x426881
mov ecx, edi
call fcn.0040cd30
jmp 0x426898
mov ecx, dword [edi + 0xbc]
test dword [ecx + edi + 0x10], 0x2000
je 0x426898
test byte [ecx + edi + 0x20], 4
je 0x42689d
mov eax, 1
xor ecx, ecx
mov word [edi + 0x1a], cx
test eax, eax
je 0x4268ca
push edi
call fcn.0046600a
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