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

Disassembly:
push 0xffffffffffffffff
push 0x4e97cb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
push ebx
push ebp
mov dword [esp + 0x28], ecx
push esi
push edi
lea ecx, [esp + 0x58]
call fcn.0046ec80
xor esi, esi
lea ecx, [esp + 0x34]
mov dword [esp + 0x84], esi
call fcn.0046ec80
push 2
push 0x507a7c
lea ecx, [esp + 0x24]
mov byte [esp + 0x8c], 1
call fcn.00453e00
push 2
push 0x507a78
lea ecx, [esp + 0x20]
mov byte [esp + 0x8c], 2
call fcn.00453e00
push 2
push 0x507a74
lea ecx, [esp + 0x1c]
mov byte [esp + 0x8c], 3
call fcn.00453e00
lea ecx, [esp + 0x10]
mov byte [esp + 0x84], 4
call fcn.00453d60
mov al, byte [0x512d24]
mov byte [esp + 0x84], 5
cmp al, 1
je 0x423212
mov dword [esp + 0x20], esi
lea eax, [esp + 0x58]
push 1
push eax
push ecx
lea edx, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call fcn.00453d70
mov ecx, dword [esp + 0x98]
mov eax, dword [ecx]
call dword [eax + 0x10]
push 1
push ecx
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call fcn.00453d70
mov ecx, dword [0x512d20]
call fcn.0046e6b0
mov al, byte [esp + 0x58]
sub esp, 0x24
mov ebx, esp
mov dword [esp + 0x50], esp
mov dword [esp + 0x50], ebx
mov byte [ebx], al
mov ecx, dword [esp + 0x80]
test ecx, ecx
jne 0x422c41
xor eax, eax
jmp 0x422c4d
mov eax, dword [esp + 0x84]
sub eax, ecx
sar eax, 4
test eax, eax
jge 0x422c53
xor eax, eax
shl eax, 4
push eax
call fcn.004dbc04
mov dword [ebx + 4], eax
mov ecx, dword [esp + 0x88]
mov esi, eax
mov eax, dword [esp + 0x84]
add esp, 4
cmp eax, ecx
mov ebp, ecx
mov dword [esp + 0x48], esi
je 0x422ce5
lea edi, [eax + 4]
mov dword [esp + 0x4c], esi
test esi, esi
mov byte [esp + 0xa8], 6
je 0x422cd4
mov cl, byte [edi - 4]
mov byte [esi], cl
mov ecx, dword [edi]
test ecx, ecx
jne 0x422c9e
xor eax, eax
jmp 0x422ca6
mov eax, dword [edi + 4]
sub eax, ecx
sar eax, 2
test eax, eax
jge 0x422cac
xor eax, eax
lea edx, [eax*4]
push edx
call fcn.004dbc04
add esp, 4
mov dword [esi + 4], eax
mov ecx, dword [edi + 4]
mov edx, dword [edi]
push eax
push ecx
push edx
mov ecx, esi
call fcn.00404040
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
add edi, 0x10
add esi, 0x10
mov dword [esp + 0x48], esi
lea eax, [edi - 4]
cmp eax, ebp
jne 0x422c7f
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], esi
mov cl, byte [esp + 0x8c]
mov byte [esp + 0xa8], 7
mov byte [ebx + 0x10], cl
mov ecx, dword [esp + 0x90]
test ecx, ecx
jne 0x422d0c
xor eax, eax
jmp 0x422d18
mov eax, dword [esp + 0x94]
sub eax, ecx
sar eax, 3
test eax, eax
jge 0x422d1e
xor eax, eax
lea edx, [eax*8]
push edx
call fcn.004dbc04
mov dword [ebx + 0x14], eax
mov ecx, dword [esp + 0x98]
mov esi, dword [esp + 0x94]
add esp, 4
cmp esi, ecx
mov ebp, ecx
mov edi, eax
je 0x422d5b
push esi
push edi
call fcn.00408cb0
add esi, 8
add esp, 8
add edi, 8
cmp esi, ebp
jne 0x422d47
mov dword [ebx + 0x18], edi
mov dword [ebx + 0x1c], edi
mov al, byte [esp + 0x9c]
mov byte [esp + 0xa8], 5
mov byte [ebx + 0x20], al
mov ecx, dword [0x512d20]
call fcn.0046e5e0
lea ecx, [esp + 0x58]
call fcn.0046f260
test ax, ax
jg 0x422da4
mov eax, dword [esp + 0x20]
inc eax
cmp ax, 3
mov dword [esp + 0x20], eax
jl 0x422bdd
jmp 0x42329e
lea ecx, [esp + 0x34]
push 1
push ecx
push ecx
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call fcn.00453d70
mov ecx, dword [esp + 0x98]
mov eax, dword [ecx]
call dword [eax + 0x10]
push 1
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call fcn.00453d70
mov ecx, dword [0x512d20]
call fcn.0046e6b0
mov al, byte [esp + 0x34]
sub esp, 0x24
mov ebx, esp
mov dword [esp + 0x50], esp
mov dword [esp + 0x50], ebx
mov byte [ebx], al
mov ecx, dword [esp + 0x5c]
test ecx, ecx
jne 0x422e05
xor eax, eax
jmp 0x422e0e
mov eax, dword [esp + 0x60]
sub eax, ecx
sar eax, 4
test eax, eax
jge 0x422e14
xor eax, eax
shl eax, 4
push eax
call fcn.004dbc04
mov dword [ebx + 4], eax
mov ecx, dword [esp + 0x64]
mov edi, dword [esp + 0x60]
add esp, 4
mov esi, eax
cmp edi, ecx
mov ebp, ecx
mov dword [esp + 0x48], esi
je 0x422e8f
mov dword [esp + 0x4c], esi
test esi, esi
mov byte [esp + 0xa8], 8
je 0x422e81
mov cl, byte [edi]
mov byte [esi], cl
mov ecx, edi
call fcn.00403ff0
test eax, eax
jge 0x422e58
xor eax, eax
lea edx, [eax*4]
push edx
call fcn.004dbc04
add esp, 4
mov dword [esi + 4], eax
mov ecx, dword [edi + 8]
mov edx, dword [edi + 4]
push eax
push ecx
push edx
mov ecx, esi
call fcn.00404040
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
add edi, 0x10
add esi, 0x10
cmp edi, ebp
mov dword [esp + 0x48], esi
jne 0x422e37
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], esi
mov al, byte [esp + 0x68]
mov byte [esp + 0xa8], 9
mov byte [ebx + 0x10], al
mov ecx, dword [esp + 0x6c]
test ecx, ecx
jne 0x422eb0
xor eax, eax
jmp 0x422eb9
mov eax, dword [esp + 0x70]
sub eax, ecx
sar eax, 3
test eax, eax
jge 0x422ebf
xor eax, eax
lea ecx, [eax*8]
push ecx
call fcn.004dbc04
mov dword [ebx + 0x14], eax
mov ecx, dword [esp + 0x74]
mov esi, dword [esp + 0x70]
add esp, 4
cmp esi, ecx
mov ebp, ecx
mov edi, eax
je 0x422ef6
push esi
push edi
call fcn.00408cb0
add esi, 8
add esp, 8
add edi, 8
cmp esi, ebp
jne 0x422ee2
mov dword [ebx + 0x18], edi
mov dword [ebx + 0x1c], edi
mov dl, byte [esp + 0x78]
mov byte [esp + 0xa8], 5
mov byte [ebx + 0x20], dl
mov ecx, dword [0x512d20]
call fcn.0046e5e0
lea ecx, [esp + 0x34]
call fcn.0046f260
test ax, ax
jle 0x42329e
push ecx
lea ecx, [esp + 0x38]
mov eax, esp
mov dword [esp + 0x30], esp
push eax
call fcn.0046f1a0
lea ecx, [esp + 0x14]
call fcn.00454080
lea ecx, [esp + 0x10]
call fcn.00454280
cmp ax, 5
jle 0x42329e
push 2
lea ecx, [esp + 0x14]
call fcn.004541f0
push 3
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], al
call fcn.004541f0
push 4
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], al
call fcn.004541f0
push 5
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], al
call fcn.004541f0
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
mov byte [esp + 0x2c], al
mov eax, dword [esp + 0x24]
and eax, 0xff
and ecx, 0xff
shl eax, 8
add eax, ecx
mov ecx, dword [esp + 0x2c]
shl eax, 8
and edx, 0xff
and ecx, 0xff
add eax, edx
shl eax, 8
add eax, ecx
jne 0x42303b
lea ecx, [esp + 0x10]
mov byte [esp + 0x84], 4
call fcn.00453ea0
lea ecx, [esp + 0x14]
mov byte [esp + 0x84], 3
call fcn.00453ea0
lea ecx, [esp + 0x18]
mov byte [esp + 0x84], 2
call fcn.00453ea0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x84], 1
call fcn.00453ea0
lea ecx, [esp + 0x34]
mov byte [esp + 0x84], 0
call fcn.0046ed80
lea ecx, [esp + 0x58]
mov dword [esp + 0x84], 0xffffffff
call fcn.0046ed80
mov ax, 1
jmp 0x42330a
mov edx, dword [esp + 0x90]
mov ecx, dword [esp + 0x30]
push edx
push eax
call fcn.00421db0
mov esi, eax
lea ecx, [esp + 0x14]
shr eax, 0x18
push eax
call fcn.00454260
mov ecx, esi
shr ecx, 0x10
push ecx
lea ecx, [esp + 0x18]
call fcn.00454260
mov edx, esi
lea ecx, [esp + 0x14]
shr edx, 8
push edx
call fcn.00454260
push esi
lea ecx, [esp + 0x18]
call fcn.00454260
lea eax, [esp + 0x34]
push 1
push eax
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x9c], esp
push edx
call fcn.00453d70
mov ecx, dword [esp + 0x98]
mov eax, dword [ecx]
call dword [eax + 0x10]
push 1
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x94], esp
push edx
call fcn.00453d70
mov ecx, dword [0x512d20]
call fcn.0046e6b0
mov al, byte [esp + 0x34]
sub esp, 0x24
mov edi, esp
mov dword [esp + 0xb0], esp
mov dword [esp + 0xb4], edi
mov byte [edi], al
mov ecx, dword [esp + 0x5c]
test ecx, ecx
jne 0x4230f1
xor eax, eax
jmp 0x4230fa
mov eax, dword [esp + 0x60]
sub eax, ecx
sar eax, 4
test eax, eax
jge 0x423100
xor eax, eax
shl eax, 4
push eax
call fcn.004dbc04
mov dword [edi + 4], eax
mov ecx, dword [esp + 0x64]
mov ebp, dword [esp + 0x60]
add esp, 4
mov esi, eax
cmp ebp, ecx
mov ebx, ecx
mov dword [esp + 0xb0], esi
je 0x42314f
mov dword [esp + 0x54], esi
test esi, esi
mov byte [esp + 0xa8], 0xa
je 0x42313e
push ebp
mov ecx, esi
call fcn.00403d40
add ebp, 0x10
add esi, 0x10
cmp ebp, ebx
mov dword [esp + 0xb0], esi
jne 0x423126
mov dword [edi + 8], esi
mov dword [edi + 0xc], esi
mov cl, byte [esp + 0x68]
mov byte [esp + 0xa8], 0xb
mov byte [edi + 0x10], cl
mov ecx, dword [esp + 0x6c]
test ecx, ecx
jne 0x423170
xor eax, eax
jmp 0x423179
mov eax, dword [esp + 0x70]
sub eax, ecx
sar eax, 3
test eax, eax
jge 0x42317f
xor eax, eax
lea edx, [eax*8]
push edx
call fcn.004dbc04
mov dword [edi + 0x14], eax
mov ecx, dword [esp + 0x74]
mov esi, dword [esp + 0x70]
add esp, 4
cmp esi, ecx
mov ebx, ecx
mov ebp, eax
je 0x4231b6
push esi
push ebp
call fcn.00408cb0
add esi, 8
add esp, 8
add ebp, 8
cmp esi, ebx
jne 0x4231a2
mov dword [edi + 0x18], ebp
mov dword [edi + 0x1c], ebp
mov al, byte [esp + 0x78]
mov byte [esp + 0xa8], 5
mov byte [edi + 0x20], al
mov ecx, dword [0x512d20]
call fcn.0046e5e0
lea ecx, [esp + 0x34]
call fcn.0046f260
test ax, ax
jle 0x423284
push ecx
mov ecx, esp
mov dword [esp + 0x90], esp
push ecx
lea ecx, [esp + 0x3c]
call fcn.0046f1a0
lea ecx, [esp + 0x14]
call fcn.00454080
push 0
lea ecx, [esp + 0x14]
call fcn.004541f0
cmp al, 0x7f
lea ecx, [esp + 0x10]
mov byte [esp + 0x84], 4
call fcn.00453ea0
lea ecx, [esp + 0x14]
mov byte [esp + 0x84], 3
call fcn.00453ea0
lea ecx, [esp + 0x18]
mov byte [esp + 0x84], 2
call fcn.00453ea0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x84], 1
call fcn.00453ea0
lea ecx, [esp + 0x34]
mov byte [esp + 0x84], 0
call fcn.0046ed80
lea ecx, [esp + 0x58]
mov dword [esp + 0x84], 0xffffffff
call fcn.0046ed80
mov ax, 1
jmp 0x42330a
push 2
lea ecx, [esp + 0x14]
call fcn.004541f0
cmp al, 0x33
je 0x42329e
push 2
lea ecx, [esp + 0x14]
call fcn.004541f0
lea ecx, [esp + 0x10]
mov byte [esp + 0x84], 4
call fcn.00453ea0
lea ecx, [esp + 0x14]
mov byte [esp + 0x84], 3
call fcn.00453ea0
lea ecx, [esp + 0x18]
mov byte [esp + 0x84], 2
call fcn.00453ea0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x84], 1
call fcn.00453ea0
lea ecx, [esp + 0x34]
mov byte [esp + 0x84], 0
call fcn.0046ed80
lea ecx, [esp + 0x58]
mov dword [esp + 0x84], 0xffffffff
call fcn.0046ed80
xor ax, ax
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x78
ret 8