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

Disassembly:
push 0xffffffffffffffff
push 0x47b0e0
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x49a6f0]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49a6f0]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov eax, dword [esp + 0x78]
mov ebp, dword [esp + 0x80]
lea edi, [esp + 0x28]
mov dword [esp + 0x24], eax
call fcn.00414ff0
push eax
mov dword [esp + 0x64], 0
call fcn.0041c570
mov ebx, eax
mov dword [esp + 0x64], 0xffffffff
mov eax, dword [esp + 0x2c]
add esp, 4
test eax, eax
mov dword [esp + 0x20], ebx
je 0x422cc2
push 0
lea ecx, [esp + 0x1c]
mov edi, eax
call fcn.0045a5a8
mov eax, dword [edi + 4]
test eax, eax
jbe 0x422ca0
cmp eax, 0xffffffff
jae 0x422ca0
add eax, 0xffffffff
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [esp + 0x18]
and esi, edi
call fcn.0045a5c9
test esi, esi
je 0x422cc2
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
lea esi, [esp + 0x38]
mov ecx, ebx
call fcn.0041c200
mov ecx, 1
mov dword [esp + 0x60], ecx
mov al, byte [ebp]
cmp al, 0x2b
je 0x422d04
cmp al, 0x2d
je 0x422d04
cmp al, 0x30
jne 0x422cfa
mov al, byte [ebp + 1]
cmp al, 0x78
je 0x422cf0
cmp al, 0x58
jne 0x422cfa
mov dword [esp + 0x18], 2
jmp 0x422d08
mov dword [esp + 0x18], 0
jmp 0x422d08
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x50]
cmp ecx, 0x10
mov edx, dword [esp + 0x3c]
mov eax, edx
jae 0x422d1b
lea eax, [esp + 0x3c]
cmp byte [eax], 0x7f
je 0x422dc2
cmp ecx, 0x10
mov eax, edx
jae 0x422d2f
lea eax, [esp + 0x3c]
cmp byte [eax], 0
jle 0x422dc2
cmp ecx, 0x10
jb 0x422d43
mov dword [esp + 0x1c], edx
jmp 0x422d4b
lea eax, [esp + 0x3c]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x1c]
mov al, byte [ecx]
cmp al, 0x7f
mov ebx, dword [esp + 0x84]
mov esi, ebx
je 0x422daf
test al, al
jle 0x422da8
mov edx, esi
sub edx, dword [esp + 0x18]
movsx eax, al
cmp eax, edx
jae 0x422da8
sub esi, eax
mov eax, ebx
sub eax, esi
add eax, 1
push eax
lea edi, [esi + ebp]
push edi
push eax
lea ecx, [esi + ebp + 1]
push ecx
call fcn.0045b267
mov eax, dword [esp + 0x2c]
add esp, 0x10
mov byte [edi], 0
add ebx, 1
cmp byte [eax + 1], 0
jle 0x422da2
add eax, 1
mov dword [esp + 0x1c], eax
mov al, byte [eax]
cmp al, 0x7f
jne 0x422d5e
mov dword [esp + 0x84], ebx
mov eax, dword [esp + 0x24]
mov esi, dword [eax + 0x18]
test esi, esi
jle 0x422dcb
cmp esi, ebx
jbe 0x422dcb
sub esi, ebx
jmp 0x422dcd
mov ebx, dword [esp + 0x84]
jmp 0x422daf
xor esi, esi
mov eax, dword [eax + 0x10]
and eax, 0x1c0
cmp eax, 0x40
je 0x422e9c
cmp eax, 0x100
je 0x422e25
mov edx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x6c]
push edx
mov edx, dword [esp + 0x74]
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x84]
mov dword [eax + 4], edx
lea edx, [esp + 0x3c]
mov dword [eax + 8], ecx
push edx
mov eax, esi
call fcn.00422f50
mov ecx, dword [eax]
mov ebx, dword [eax + 4]
mov edi, dword [eax + 8]
add esp, 0x14
mov dword [esp + 0x6c], ecx
xor esi, esi
jmp 0x422ea4
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
mov edi, dword [esp + 0x18]
push ebp
sub esp, 0xc
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x84]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
lea eax, [esp + 0x3c]
push eax
mov eax, edi
call fcn.004230d0
mov ecx, dword [esp + 0x90]
mov edx, dword [eax]
add esp, 0x14
push ecx
sub esp, 0xc
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
lea ecx, [esp + 0x3c]
sub ebx, edi
push ecx
mov eax, esi
add ebp, edi
mov dword [esp + 0x98], ebx
call fcn.00422f50
mov edx, dword [eax]
mov ebx, dword [eax + 4]
mov edi, dword [eax + 8]
add esp, 0x14
mov dword [esp + 0x6c], edx
xor esi, esi
jmp 0x422ea4
mov edi, dword [esp + 0x74]
mov ebx, dword [esp + 0x70]
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x6c]
mov byte [esp + 0x20], al
mov eax, dword [esp + 0x20]
push eax
push ecx
sub esp, 0xc
mov eax, esp
mov dword [eax], edx
mov dword [eax + 4], ebx
mov dword [eax + 8], edi
lea eax, [esp + 0x40]
push eax
mov eax, ebp
call fcn.00423150
mov edi, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [eax + 8]
mov ecx, dword [esp + 0x3c]
mov dword [ecx + 0x18], 0
mov ecx, dword [esp + 0x94]
add esp, 0x18
push ecx
sub esp, 0xc
mov ecx, esp
mov dword [ecx], edx
mov dword [ecx + 4], edi
mov edi, dword [esp + 0x78]
mov dword [ecx + 8], eax
push edi
mov eax, esi
call fcn.00422f50
add esp, 0x14
cmp dword [esp + 0x50], 0x10
jb 0x422f2b
mov edx, dword [esp + 0x3c]
push edx
call fcn.0045ac5a
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.0045b0e4
add esp, 0x50
ret