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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [0x49d5d4]
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 0x426a44
cmp edi, dword [ebx + 0x1270]
jne 0x4267ae
mov dword [ebx + 0x1270], 0
cmp edx, 1
jne 0x4267d3
cmp word [edi + 0x1a], 0
jne 0x4267d3
push edi
call fcn.004646ca
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 0x426834
mov esi, dword [eax + 0x1278]
xor ebx, ebx
cmp dword [eax + 0x3c], ebx
jle 0x426831
nop dword [eax]
mov ecx, dword [esi]
test ecx, ecx
jne 0x426800
mov ecx, dword [esi + 8]
add esi, 8
test ecx, ecx
je 0x4267f6
test byte [ecx + 0x78], 0x10
je 0x426828
cmp dword [ecx + 0xcc], 0xd
jne 0x426828
cmp dword [ecx + 0x182], edi
jne 0x426828
cmp dword [ecx + 0x17e], 0
je 0x426828
call fcn.004470b0
mov eax, dword [ebp - 0x10]
inc ebx
add esi, 8
cmp ebx, dword [eax + 0x3c]
jl 0x4267f0
mov ebx, dword [ebp - 8]
mov ecx, edi
call fcn.00446630
mov eax, dword [edi + 0x80]
test eax, eax
je 0x426864
lea esi, [eax + edi]
mov eax, dword [esi]
test eax, eax
je 0x42685d
push eax
call fcn.004646ca
add esp, 4
mov dword [esi], 0
mov ecx, esi
call fcn.0040e710
mov eax, dword [edi + 0x78]
and eax, 0xc0
cmp al, 0xc0
jne 0x426876
dec dword [ebx + 0x518]
mov eax, dword [0x49c08c]
mov esi, 0x49c08c
cmp eax, 0xffff
je 0x4268af
mov ebx, dword [ebp - 4]
nop word [eax + eax]
test dword [edi + 0x78], eax
je 0x42689f
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 0x426890
mov ebx, dword [ebp - 8]
movzx eax, word [edi + 0x18]
movsx ecx, ax
cmp ax, 0x20
jge 0x4268d2
mov eax, dword [ecx*4 + 0x49c0c4]
test eax, eax
je 0x4268ef
push dword [ebp - 4]
push edi
call eax
add esp, 8
jmp 0x4268ef
mov eax, dword [ebx + 0x1d4]
imul ecx, ecx, 0x92
mov eax, dword [ecx + eax - 0x123c]
test eax, eax
je 0x4268ef
push dword [ebp - 4]
push edi
call eax
test dword [edi + 0x78], 0x200
je 0x42691c
mov esi, dword [edi + 0xbc]
cmp word [esi + edi + 0x18], 0xd
jne 0x42691c
mov ecx, dword [esi + edi + 0x1c]
test ecx, ecx
je 0x426914
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + edi + 0x1c], 0
mov eax, dword [edi + 0x1c]
mov esi, dword [0x49d5d4]
dec dword [eax + 0x10]
movzx ecx, word [edi + 0x14]
mov dword [ebp - 0x10], ecx
movsx eax, cx
test cx, cx
js 0x426974
mov esi, dword [esi + 0x1278]
movzx edx, word [edi + 0x16]
mov ecx, dword [esi + eax*8]
test dx, dx
js 0x426965
movsx eax, dx
mov esi, dword [esi + eax*8]
test ecx, ecx
je 0x426957
mov word [ecx + 0x16], dx
test esi, esi
je 0x4269b0
mov ax, word [edi + 0x14]
mov word [esi + 0x14], ax
jmp 0x4269b0
test ecx, ecx
je 0x4269b0
mov eax, 0xffff8000
mov word [ecx + 0x16], ax
jmp 0x4269b0
and eax, 0x7fff
imul edx, eax, 0x92
movzx eax, word [edi + 0x16]
add edx, dword [esi + 0x58]
test ax, ax
js 0x4269a7
movsx ecx, ax
mov eax, dword [esi + 0x1278]
mov eax, dword [eax + ecx*8]
test eax, eax
je 0x4269b0
mov ecx, dword [ebp - 0x10]
mov word [eax + 0x14], cx
mov ax, word [eax]
jmp 0x4269ac
mov eax, 0xffff8000
mov word [edx + 6], ax
test byte [ebx + 0x28], 0x20
je 0x4269d8
mov ecx, dword [0x49d5cc]
movsx edx, word [edi + 0x12]
cmp edx, dword [ecx + 0x194]
jge 0x4269d8
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 0x426a08
cmp dword [ebp - 4], eax
je 0x4269f1
mov ecx, edi
call fcn.0040c870
jmp 0x426a08
mov ecx, dword [edi + 0xbc]
test dword [ecx + edi + 0x10], 0x2000
je 0x426a08
test byte [ecx + edi + 0x20], 4
je 0x426a0d
mov eax, 1
xor ecx, ecx
mov word [edi + 0x1a], cx
test eax, eax
je 0x426a3a
push edi
call fcn.004646ca
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