Function at 0x421ca0
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 0x421cc0
mov edx, eax
sar edx, 1
xor edx, 0x1b
mov ebx, dword [edi + 4]
mov ecx, 0xfffffffe
nop
nop
nop
nop
nop
nop
cmp word [ebx + ecx + 2], 0
lea ecx, [ecx + 2]
jne 0x421ce0
and eax, 0x36
add edx, eax
sar ecx, 1
add ecx, edx
jns 0x421cfd
mov ecx, 0xffffffff
jmp 0x421cff
add ecx, ecx
push ecx
call fcn.0040c990
add esp, 4
mov esi, eax
mov dword [esp + 8], 0x61d267c0
mov dword [esp + 0xc], 0x5dff63f1
mov dword [esp + 0x10], 0x59ca5fff
mov dword [esp + 0x14], 0x55e55bb8
mov dword [esp + 0x18], 0x51da57dc
mov dword [esp + 0x1c], 0x4dc453cf
mov dword [esp + 0x20], 0x49d54fc1
mov dword [esp + 0x24], 0x45dc4bd9
mov dword [esp + 0x28], 0x41eb47a4
mov dword [esp + 0x2c], 0x3dce43df
mov dword [esp + 0x30], 0x39a53fb0
mov dword [esp + 0x34], 0x35a33bae
mov dword [esp + 0x38], 0x319237b9
mov dword [esp + 0x3c], 0x3330
mov byte [esp + 0x40], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x38
ja 0x421db6
nop
nop
mov eax, dword [esp]
movzx eax, byte [esp + eax + 8]
push dword [esp]
push eax
call fcn.004238a0
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 8], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x39
jb 0x421d90
mov ecx, dword [ebp + 4]
movzx edx, word [ecx]
mov eax, esi
test dx, dx
je 0x421de1
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 0x421dd0
mov word [eax], 0
movzx ecx, word [esp + 8]
test cx, cx
je 0x421e11
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 0x421e00
mov word [eax], 0
movzx ecx, word [ebx]
test cx, cx
je 0x421e41
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 0x421e30
mov dword [esp + 0x44], esi
mov word [eax], 0
mov esi, dword [ebp]
mov eax, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [esi + eax + 2], 0
lea eax, [eax + 2]
jne 0x421e60
mov edx, dword [ebp + 8]
mov ecx, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [edx + ecx + 2], 0
lea ecx, [ecx + 2]
jne 0x421e80
mov ebx, dword [edi]
mov edx, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [ebx + edx + 2], 0
lea edx, [edx + 2]
jne 0x421ea0
sar eax, 1
sar ecx, 1
sar edx, 1
add ecx, eax
lea eax, [edx + ecx]
add eax, 0xe
test eax, eax
jns 0x421ec4
mov eax, 0xffffffff
jmp 0x421ecd
add ecx, edx
lea eax, [ecx*2 + 0x1c]
push eax
call fcn.0040c990
add esp, 4
mov edi, eax
movzx eax, word [esi]
mov dword [esp + 4], edi
test ax, ax
je 0x421f01
add esi, 2
mov edi, dword [esp + 4]
nop
nop
nop
nop
nop
mov word [edi], ax
add edi, 2
movzx eax, word [esi]
add esi, 2
test ax, ax
jne 0x421ef0
mov word [edi], 0x2f
mov dword [esp + 8], 0x6327615f
mov dword [esp + 0xc], 0x671265ec
mov dword [esp + 0x10], 0x7b04791d
mov dword [esp + 0x14], 0x7f077d0f
mov dword [esp + 0x18], 0x730c710f
mov dword [esp + 0x1c], 0x77497507
mov dword [esp + 0x20], 0x8988
mov byte [esp + 0x24], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x1c
mov esi, dword [esp + 0x44]
ja 0x421f86
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.00423920
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 8], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x1d
jb 0x421f60
add edi, 2
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
test cx, cx
je 0x421fb1
add eax, 2
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [edi], cx
add edi, 2
movzx ecx, word [eax]
add eax, 2
test cx, cx
jne 0x421fa0
mov word [edi], 0
movzx eax, word [esp + 8]
test ax, ax
je 0x421fe1
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 0x421fd0
mov word [edi], 0
movzx eax, word [ebx]
test ax, ax
je 0x422011
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 0x422000
mov word [edi], 0
mov dword [esp], 0x636261ba
mov dword [esp + 8], 0
mov eax, dword [esp + 8]
cmp eax, 3
ja 0x422059
nop
nop
mov eax, dword [esp + 8]
movzx eax, byte [esp + eax]
push dword [esp + 8]
push eax
call fcn.00423980
add esp, 8
mov ecx, dword [esp + 8]
mov byte [esp + ecx], al
inc dword [esp + 8]
mov eax, dword [esp + 8]
cmp eax, 4
jb 0x422030
mov eax, esp
push 0
push 0
push 0
push 0xc00000
push eax
push esi
push dword [esp + 0x1c]
push dword [esp + 0x78]
call fcn.00425eb0
add esp, 0x20
mov ebx, eax
jmp dword [0x451164]