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

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push ebx
sub esp, 0x30
mov eax, dword [ebp + 8]
mov ecx, dword [ecx + 0x18]
mov dword [esp], eax
call fcn.004432e0
mov edx, dword [eax]
sub esp, 4
mov ecx, eax
cmp edx, 0x19
jl 0x421920
cmp edx, 0x1b
jle 0x4219a6
cmp edx, 0x20
jne 0x421920
mov ebx, dword [eax + 4]
xor edx, edx
test ebx, ebx
mov ebx, dword [ecx + 8]
setne dl
xor eax, eax
test ebx, ebx
setne al
lea eax, [edx + eax + 1]
mov dword [esp], eax
call fcn.00442a50
mov ecx, esi
sub esp, 4
mov dword [esp], eax
call fcn.004218b0
sub esp, 4
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret 4
xor eax, eax
cmp edx, 0x1e
jne 0x421912
mov dword [esp], 8
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x10], 0
call fcn.006540e0
mov ecx, dword [ebp - 0x2c]
lea edx, [ebp - 0x1c]
mov dword [eax], edx
mov dword [eax + 4], esi
mov esi, dword [ecx + 0x10]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0xc], 0x4219f0
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x10], 0x4216b0
cmp eax, esi
je 0x4219dc
mov ebx, eax
jmp 0x421977
add ebx, 0x10
cmp esi, ebx
je 0x4219b4
mov eax, dword [ebx]
lea edx, [eax - 2]
cmp edx, 1
jbe 0x421970
mov dword [esp], eax
call fcn.0046c3b0
test al, al
je 0x421970
mov edx, dword [ebp - 0x10]
mov eax, dword [ebx + 4]
test edx, edx
je 0x4219e3
mov dword [esp + 4], eax
lea eax, [ebp - 0x18]
mov dword [esp], eax
call dword [ebp - 0xc]
jmp 0x421970
lea esp, [ebp - 8]
mov eax, 1
pop ebx
pop esi
pop ebp
ret 4
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4219cf
lea edx, [ebp - 0x18]
mov dword [esp + 8], 3
mov dword [esp + 4], edx
mov dword [esp], edx
call eax
mov eax, dword [ebp - 0x1c]
test eax, eax
setg al
jmp 0x421912
mov eax, 0x4216b0
jmp 0x4219bb
call fcn.0064c3e0
nop
lea esi, [esi]
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
mov eax, dword [ebp + 8]
mov ebx, dword [eax]
mov eax, dword [ebx]
mov eax, dword [eax]
test eax, eax
je 0x421a10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp + 0xc]
mov esi, dword [ebx + 4]
mov eax, dword [eax]
mov ecx, dword [esi + 0x18]
mov dword [esp], eax
call fcn.004432e0
mov edx, dword [eax]
sub esp, 4
mov ecx, eax
cmp edx, 0x19
jl 0x421a80
cmp edx, 0x1b
jle 0x421a6d
cmp edx, 0x20
jne 0x421a80
mov edi, dword [eax + 4]
xor edx, edx
test edi, edi
mov edi, dword [ecx + 8]
setne dl
xor eax, eax
test edi, edi
setne al
lea eax, [edx + eax + 1]
mov dword [esp], eax
call fcn.00442a50
mov ecx, esi
sub esp, 4
mov dword [esp], eax
call fcn.004218b0
sub esp, 4
test al, al
je 0x421a06
mov eax, dword [ebx]
add dword [eax], 1
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
cmp edx, 0x1e
jne 0x421a06
mov dword [esp], 8
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x20], 0
call fcn.006540e0
mov ecx, dword [ebp - 0x3c]
lea edx, [ebp - 0x2c]
mov edi, dword [ecx + 0x10]
mov dword [eax], edx
mov dword [eax + 4], esi
mov dword [ebp - 0x1c], 0x4219f0
mov esi, dword [ecx + 0xc]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], 0x4216b0
cmp esi, edi
jne 0x421ad7
jmp 0x421b2e
add esi, 0x10
cmp edi, esi
je 0x421b06
mov eax, dword [esi]
lea edx, [eax - 2]
cmp edx, 1
jbe 0x421ad0
mov dword [esp], eax
call fcn.0046c3b0
test al, al
je 0x421ad0
mov edx, dword [ebp - 0x20]
mov eax, dword [esi + 4]
test edx, edx
je 0x421b35
mov dword [esp + 4], eax
lea eax, [ebp - 0x28]
mov dword [esp], eax
call dword [ebp - 0x1c]
jmp 0x421ad0
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x421b21
lea edx, [ebp - 0x28]
mov dword [esp + 8], 3
mov dword [esp + 4], edx
mov dword [esp], edx
call eax
mov eax, dword [ebp - 0x2c]
test eax, eax
setg al
jmp 0x421a69
mov eax, 0x4216b0
jmp 0x421b0d
call fcn.0064c3e0
lea esi, [esi]
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
mov eax, dword [ebp + 8]
mov ebx, dword [eax]
mov eax, dword [ebx]
mov edx, dword [eax]
test edx, edx
jle 0x421bd1
mov eax, dword [ebp + 0xc]
mov edx, dword [ebx + 8]
mov eax, dword [eax]
mov ecx, dword [edx + 0x18]
mov dword [esp], eax
call fcn.004432e0
mov esi, dword [ebx + 8]
mov ecx, dword [esi + 0x18]
mov eax, dword [eax + 4]
sub esp, 4
mov dword [esp], eax
call fcn.004432e0
mov edx, dword [eax]
sub esp, 4
mov ecx, eax
cmp edx, 0x19
jl 0x421be0
cmp edx, 0x1b
jle 0x421bc7
cmp edx, 0x20
jne 0x421be0
mov edi, dword [eax + 4]
xor edx, edx
test edi, edi
mov edi, dword [ecx + 8]
setne dl
xor eax, eax
test edi, edi
setne al
lea eax, [edx + eax + 1]
mov dword [esp], eax
call fcn.00442a50
mov ecx, esi
sub esp, 4
mov dword [esp], eax
call fcn.004218b0
sub esp, 4
test al, al
je 0x421bcd
mov eax, dword [ebx + 4]
add dword [eax], 1
mov eax, dword [ebx]
mov edx, dword [eax]
add edx, 1
mov dword [eax], edx
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
cmp edx, 0x1e
jne 0x421bcd
mov dword [esp], 8
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x20], 0
call fcn.006540e0
mov ecx, dword [ebp - 0x3c]
lea edx, [ebp - 0x2c]
mov edi, dword [ecx + 0x10]
mov dword [eax], edx
mov dword [eax + 4], esi
mov dword [ebp - 0x1c], 0x4219f0
mov esi, dword [ecx + 0xc]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], 0x4216b0
cmp esi, edi
jne 0x421c37
jmp 0x421c8e
add esi, 0x10
cmp edi, esi
je 0x421c66
mov eax, dword [esi]
lea edx, [eax - 2]
cmp edx, 1
jbe 0x421c30
mov dword [esp], eax
call fcn.0046c3b0
test al, al
je 0x421c30
mov edx, dword [ebp - 0x20]
mov eax, dword [esi + 4]
test edx, edx
je 0x421c95
mov dword [esp + 4], eax
lea eax, [ebp - 0x28]
mov dword [esp], eax
call dword [ebp - 0x1c]
jmp 0x421c30
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x421c81
lea edx, [ebp - 0x28]
mov dword [esp + 8], 3
mov dword [esp + 4], edx
mov dword [esp], edx
call eax
mov eax, dword [ebp - 0x2c]
test eax, eax
setg al
jmp 0x421bc3
mov eax, 0x4216b0
jmp 0x421c6d
call fcn.0064c3e0
lea esi, [esi]