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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [0x49f5bc]
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 0x424428
cmp edi, dword [ebx + 0x1270]
jne 0x42419e
mov dword [ebx + 0x1270], 0
cmp edx, 1
jne 0x4241c3
cmp word [edi + 0x1a], 0
jne 0x4241c3
push edi
call fcn.00462e3a
add esp, 4
mov dword [esi], 0
dec dword [ebx + 0x3c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 8]
xor ebx, ebx
mov dword [ebp - 0x10], eax
mov esi, dword [eax + 0x1278]
cmp dword [eax + 0x3c], ebx
jle 0x42421b
mov ecx, dword [esi]
test ecx, ecx
jne 0x4241ea
nop dword [eax]
mov ecx, dword [esi + 8]
add esi, 8
test ecx, ecx
je 0x4241e0
test byte [ecx + 0x78], 0x10
je 0x424212
cmp dword [ecx + 0xcc], 0xd
jne 0x424212
cmp dword [ecx + 0x182], edi
jne 0x424212
cmp dword [ecx + 0x17e], 0
je 0x424212
call fcn.004439c0
mov eax, dword [ebp - 0x10]
inc ebx
add esi, 8
cmp ebx, dword [eax + 0x3c]
jl 0x4241d6
mov ecx, edi
call fcn.00442e30
mov eax, dword [edi + 0x80]
test eax, eax
je 0x42424b
lea esi, [eax + edi]
mov eax, dword [esi]
test eax, eax
je 0x424244
push eax
call fcn.00462e3a
add esp, 4
mov dword [esi], 0
mov ecx, esi
call fcn.0040e7f0
mov eax, dword [edi + 0x78]
mov ebx, dword [ebp - 8]
and eax, 0xc0
cmp al, 0xc0
jne 0x424260
dec dword [ebx + 0x518]
mov eax, dword [0x49e08c]
mov esi, 0x49e08c
cmp eax, 0xffff
je 0x424293
mov ebx, dword [ebp - 4]
test dword [edi + 0x78], eax
je 0x424283
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 0x424274
mov ebx, dword [ebp - 8]
movzx eax, word [edi + 0x18]
movsx ecx, ax
cmp ax, 0x20
jge 0x4242b6
mov eax, dword [ecx*4 + 0x49e0c4]
test eax, eax
je 0x4242d3
push dword [ebp - 4]
push edi
call eax
add esp, 8
jmp 0x4242d3
mov eax, dword [ebx + 0x1d4]
imul ecx, ecx, 0x92
mov eax, dword [ecx + eax - 0x123c]
test eax, eax
je 0x4242d3
push dword [ebp - 4]
push edi
call eax
test dword [edi + 0x78], 0x200
je 0x424300
mov esi, dword [edi + 0xbc]
cmp word [esi + edi + 0x18], 0xd
jne 0x424300
mov ecx, dword [esi + edi + 0x1c]
test ecx, ecx
je 0x4242f8
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + edi + 0x1c], 0
mov eax, dword [edi + 0x1c]
mov esi, dword [0x49f5bc]
dec dword [eax + 0x10]
movzx ecx, word [edi + 0x14]
mov dword [ebp - 0x10], ecx
movsx eax, cx
test cx, cx
js 0x424358
mov esi, dword [esi + 0x1278]
movzx edx, word [edi + 0x16]
mov ecx, dword [esi + eax*8]
test dx, dx
js 0x424349
movsx eax, dx
mov esi, dword [esi + eax*8]
test ecx, ecx
je 0x42433b
mov word [ecx + 0x16], dx
test esi, esi
je 0x424394
mov ax, word [edi + 0x14]
mov word [esi + 0x14], ax
jmp 0x424394
test ecx, ecx
je 0x424394
mov eax, 0xffff8000
mov word [ecx + 0x16], ax
jmp 0x424394
and eax, 0x7fff
imul edx, eax, 0x92
movzx eax, word [edi + 0x16]
add edx, dword [esi + 0x58]
test ax, ax
js 0x42438b
movsx ecx, ax
mov eax, dword [esi + 0x1278]
mov eax, dword [eax + ecx*8]
test eax, eax
je 0x424394
mov ecx, dword [ebp - 0x10]
mov word [eax + 0x14], cx
mov ax, word [eax]
jmp 0x424390
mov eax, 0xffff8000
mov word [edx + 6], ax
test byte [ebx + 0x28], 0x20
je 0x4243bc
mov ecx, dword [0x49f5b4]
movsx edx, word [edi + 0x12]
cmp edx, dword [ecx + 0x194]
jge 0x4243bc
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 0x4243ec
cmp dword [ebp - 4], eax
je 0x4243d5
mov ecx, edi
call fcn.0040c970
jmp 0x4243ec
mov ecx, dword [edi + 0xbc]
test dword [ecx + edi + 0x10], 0x2000
je 0x4243ec
test byte [ecx + edi + 0x20], 4
je 0x4243f1
mov eax, 1
xor ecx, ecx
mov word [edi + 0x1a], cx
test eax, eax
je 0x42441e
push edi
call fcn.00462e3a
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