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

Disassembly:
push 0xffffffffffffffff
push 0x4d8ffa
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4fb164]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
xor esi, esi
cmp dword [0x541b2c], esi
je 0x422266
call fcn.0046e510
cmp dword [0x541b54], esi
je 0x422273
call fcn.0046e510
lea eax, [esp + 0x54]
push eax
mov dword [esp + 0x1c], esi
call fcn.00428e00
mov dword [esp + 0x80], esi
mov eax, dword [0x4ffe1c]
mov edi, dword [eax + 4]
mov esi, dword [edi]
mov ebp, eax
mov dword [esp + 0x38], eax
jmp 0x4222a0
cmp ebp, dword [esp + 0x38]
jne 0x42259d
cmp esi, edi
sete al
test al, al
sete al
test al, al
je 0x4222f1
cmp esi, dword [ebp + 4]
je 0x4222ec
mov ecx, dword [esi + 8]
mov dx, word [ecx]
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x4c]
push ecx
lea ebx, [esp + 0x5c]
mov word [esp + 0x30], dx
mov dword [esp + 0x34], 0xffffffff
call fcn.00428f20
cmp esi, dword [ebp + 4]
je 0x4222ec
mov esi, dword [esi]
jmp 0x4222a0
jmp fcn.004034b0
mov eax, dword [0x4ffe1c]
mov esi, dword [eax + 4]
mov ecx, dword [esi]
mov edx, eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x40], eax
lea ecx, [ecx]
cmp edx, dword [esp + 0x40]
jne 0x42259d
cmp ecx, esi
sete al
test al, al
sete al
test al, al
je 0x422573
cmp ecx, dword [edx + 4]
je 0x4222ec
mov eax, dword [ecx + 8]
cmp eax, dword [0x4ffe00]
mov dword [esp + 0x14], eax
je 0x42254a
call fcn.0042dac0
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], 0
mov byte [esp + 0x80], 1
mov eax, dword [0x4ffe00]
movzx ecx, word [eax]
lea edx, [esp + 0x48]
push edx
push ecx
call fcn.00421fa0
mov ecx, dword [esp + 0x54]
mov ebp, dword [ecx]
add esp, 8
mov ebx, ecx
jmp 0x422380
cmp ebp, ebx
sete al
test al, al
sete al
test al, al
je 0x422425
cmp ebp, ecx
je 0x422564
mov esi, dword [ebp + 8]
mov edi, dword [0x4ffe00]
call fcn.00422ec0
mov ecx, dword [esp + 0x14]
cmp eax, ecx
je 0x4223c1
mov ecx, dword [esp + 0x4c]
cmp ebp, ecx
je 0x422564
mov ebp, dword [ebp]
jmp 0x422380
mov dx, word [ecx]
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x64]
push ecx
mov word [esp + 0x38], dx
mov dword [esp + 0x3c], esi
call fcn.00427590
mov byte [esp + 0x80], 0
mov ecx, dword [esp + 0x4c]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esp + 0x4c]
mov dword [ecx + 4], ecx
mov ecx, dword [esp + 0x4c]
xor edi, edi
cmp eax, ecx
mov dword [esp + 0x50], edi
je 0x422416
mov esi, dword [eax]
push eax
call fcn.004a20a3
mov ecx, dword [esp + 0x50]
add esp, 4
cmp esi, ecx
mov eax, esi
jne 0x422401
push ecx
call fcn.004a20a3
mov dword [esp + 0x50], edi
jmp 0x42253f
mov ecx, dword [esp + 0x58]
mov eax, dword [ecx]
lea edx, [esp + 0x54]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], edx
mov esi, ecx
lea esp, [esp]
xor ebx, ebx
cmp edx, ebx
je 0x42256e
lea ecx, [esp + 0x54]
cmp edx, ecx
jne 0x42256e
cmp eax, esi
sete cl
test cl, cl
sete cl
test cl, cl
je 0x422487
cmp eax, dword [edx + 4]
je 0x422569
lea edx, [esp + 0x28]
mov dword [eax + 0x10], 0xffffffff
call fcn.00433ba0
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
jmp 0x422440
mov edi, dword [0x4ffe00]
lea ecx, [esp + 0x54]
call fcn.00428e70
mov ecx, dword [esp + 0x14]
mov dword [eax], 1
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x58]
push eax
mov eax, dword [0x4ffe00]
mov dword [esp + 0x20], ebx
movzx edx, word [ecx]
push ebx
push edx
push eax
call fcn.00422090
add esp, 0x14
cmp eax, ebx
je 0x4224f8
push eax
call fcn.00422f40
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x4224d9
call fcn.0046e510
mov ecx, dword [esp + 0x14]
mov dx, word [ecx]
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x70]
push ecx
mov word [esp + 0x40], dx
mov dword [esp + 0x44], esi
call fcn.00427590
mov byte [esp + 0x80], 0
mov ecx, dword [esp + 0x4c]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esp + 0x4c]
mov dword [ecx + 4], ecx
mov ecx, dword [esp + 0x4c]
cmp eax, ecx
mov dword [esp + 0x50], ebx
je 0x422535
jmp 0x422520
mov esi, dword [eax]
push eax
call fcn.004a20a3
mov ecx, dword [esp + 0x50]
add esp, 4
cmp esi, ecx
mov eax, esi
jne 0x422520
push ecx
call fcn.004a20a3
mov dword [esp + 0x50], ebx
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
add esp, 4
cmp ecx, dword [edx + 4]
je 0x4222ec
mov eax, dword [ecx]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
mov ecx, eax
jmp 0x422310
jmp fcn.004332f0
jmp fcn.00433a40
jmp fcn.00433ab0
mov dword [esp + 0x80], 0xffffffff
lea eax, [esp + 0x54]
call fcn.0042e3b0
mov al, 1
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret
jmp fcn.00403260