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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x48
mov edi, dword [esp + 0x64]
mov ebp, dword [esp + 0x60]
mov ecx, dword [ebp + 4]
mov eax, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [ecx + eax + 2], 0
lea eax, [eax + 2]
jne 0x420ec0
sar eax, 1
mov ebx, dword [edi + 4]
mov ecx, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [ebx + ecx + 2], 0
lea ecx, [ecx + 2]
jne 0x420ee0
sar ecx, 1
lea edx, [eax + ecx]
add edx, 0x1b
test edx, edx
jns 0x420efe
mov eax, 0xffffffff
jmp 0x420f07
add eax, ecx
lea eax, [eax*2 + 0x36]
push eax
call fcn.0040c610
add esp, 4
mov esi, eax
mov dword [esp + 8], 0x438e41bc
mov dword [esp + 0xc], 0x47a545ab
mov dword [esp + 0x10], 0x4ba649a9
mov dword [esp + 0x14], 0x4f8b4d6c
mov dword [esp + 0x18], 0x73e671e8
mov dword [esp + 0x1c], 0x77987591
mov dword [esp + 0x20], 0x7b9379eb
mov dword [esp + 0x24], 0x7f907d93
mov dword [esp + 0x28], 0x63916140
mov dword [esp + 0x2c], 0x67f26581
mov dword [esp + 0x30], 0x6b8369fc
mov dword [esp + 0x34], 0x6f896d82
mov dword [esp + 0x38], 0x13ee1183
mov dword [esp + 0x3c], 0x1514
mov byte [esp + 0x40], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x38
ja 0x420fc6
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
movzx eax, byte [esp + eax + 8]
push dword [esp]
push eax
call fcn.00422a50
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 8], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x39
jb 0x420fa0
mov ecx, dword [ebp + 4]
movzx edx, word [ecx]
mov eax, esi
test dx, dx
je 0x420ff1
add ecx, 2
mov eax, esi
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], dx
add eax, 2
movzx edx, word [ecx]
add ecx, 2
test dx, dx
jne 0x420fe0
mov word [eax], 0
movzx ecx, word [esp + 8]
test cx, cx
je 0x421021
lea edx, [esp + 0xa]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x421010
mov word [eax], 0
movzx ecx, word [ebx]
test cx, cx
je 0x421051
add ebx, 2
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [ebx]
add ebx, 2
test cx, cx
jne 0x421040
mov dword [esp + 0x44], esi
mov word [eax], 0
mov esi, dword [ebp]
mov ecx, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [esi + ecx + 2], 0
lea ecx, [ecx + 2]
jne 0x421070
mov edx, ecx
sar edx, 1
xor edx, 1
mov ebx, dword [ebp + 8]
mov eax, 0xfffffffe
nop
nop
nop
nop
nop
nop
cmp word [ebx + eax + 2], 0
lea eax, [eax + 2]
jne 0x421090
and ecx, 2
add edx, ecx
sar eax, 1
add eax, edx
lea edx, [eax + eax]
xor eax, 0xd
mov ebx, dword [edi]
mov ecx, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [ebx + ecx + 2], 0
lea ecx, [ecx + 2]
jne 0x4210c0
and edx, 0x1a
add edx, eax
sar ecx, 1
add ecx, edx
jns 0x4210dd
mov ecx, 0xffffffff
jmp 0x4210df
add ecx, ecx
push ecx
call fcn.0040c610
add esp, 4
mov edi, eax
movzx eax, word [esi]
mov dword [esp + 4], edi
test ax, ax
je 0x421111
add esi, 2
mov edi, dword [esp + 4]
nop
nop
nop
mov word [edi], ax
add edi, 2
movzx eax, word [esi]
add esi, 2
test ax, ax
jne 0x421100
mov word [edi], 0x2f
mov dword [esp + 8], 0x135f1147
mov dword [esp + 0xc], 0x1f821d84
mov dword [esp + 0x10], 0x1b8c1975
mov dword [esp + 0x14], 0x76f0597
mov dword [esp + 0x18], 0x3940197
mov dword [esp + 0x1c], 0xf590d9f
mov dword [esp + 0x20], 0x908
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x1b
ja 0x421186
nop
nop
nop
mov eax, dword [esp]
movzx eax, byte [esp + eax + 8]
push dword [esp]
push eax
call fcn.00422ad0
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 8], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x1c
jb 0x421160
mov esi, dword [esp + 0x44]
add edi, 2
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
test cx, cx
je 0x4211b1
add eax, 2
nop
nop
nop
nop
nop
mov word [edi], cx
add edi, 2
movzx ecx, word [eax]
add eax, 2
test cx, cx
jne 0x4211a0
mov word [edi], 0
movzx eax, word [esp + 8]
test ax, ax
je 0x4211e1
lea ecx, [esp + 0xa]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [edi], ax
add edi, 2
movzx eax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4211d0
mov word [edi], 0
movzx eax, word [ebx]
test ax, ax
je 0x421211
add ebx, 2
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [edi], ax
add edi, 2
movzx eax, word [ebx]
add ebx, 2
test ax, ax
jne 0x421200
mov word [edi], 0
mov dword [esp + 8], 0xf0e0936
mov dword [esp + 0xc], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 7
ja 0x421266
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
movzx eax, byte [esp + eax + 8]
push dword [esp]
push eax
call fcn.00422b60
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 8], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 8
jb 0x421240
lea eax, [esp + 8]
push 0
push 0
push 0
push 0xc00000
push eax
push esi
push dword [esp + 0x1c]
push dword [esp + 0x78]
call fcn.00425490
add esp, 0x20
mov ebx, eax
jmp dword [0x4510e8]