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

Disassembly:
push 0xffffffffffffffff
push 0x463c3a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x150
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [esp + 0x1c]
call fcn.0043f6d0
xor ebx, ebx
lea ecx, [esp + 0x14]
mov dword [esp + 0x168], ebx
call fcn.0043f6d0
mov al, byte [esp + 0x13]
sub esp, 0x10
mov edx, esp
mov edi, 0x481e18
or ecx, 0xffffffff
mov dword [esp + 0x4c], esp
mov byte [edx], al
xor eax, eax
mov dword [edx + 4], ebx
mov dword [edx + 8], ebx
mov dword [edx + 0xc], ebx
mov byte [esp + 0x178], 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x481e18
mov ecx, edx
call fcn.00413660
push ebx
lea ecx, [esp + 0x34]
call fcn.004478c0
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x61]
mov byte [esp + 0x60], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov byte [esp + 0x168], 2
stosb byte es:[edi], al
push 0xffff
lea ecx, [esp + 0x64]
push 0x47599c
push ecx
call fcn.00458e0a
mov al, byte [esp + 0x1f]
push ecx
mov edx, esp
lea edi, [esp + 0x70]
or ecx, 0xffffffff
mov dword [esp + 0x4c], esp
mov byte [edx], al
xor eax, eax
mov dword [edx + 4], ebx
mov dword [edx + 8], ebx
mov dword [edx + 0xc], ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x74]
push ecx
mov ecx, edx
call fcn.00413660
sub esp, 0x10
lea edx, [esp + 0x33]
mov ecx, esp
mov dword [esp + 0x58], esp
push edx
push 0x475928
mov byte [esp + 0x190], 3
call fcn.00412fb0
sub esp, 0x10
lea eax, [esp + 0x73]
mov ecx, esp
mov dword [esp + 0x88], esp
push eax
push 0x475a1c
mov byte [esp + 0x1a0], 4
call fcn.00412fb0
sub esp, 0x10
lea edx, [esp + 0x82]
mov ecx, esp
mov dword [esp + 0x9c], esp
push edx
push 0x481e18
mov byte [esp + 0x1b0], 5
call fcn.00412fb0
sub esp, 0x10
mov byte [esp + 0x1b8], 6
mov esi, esp
mov dword [esp + 0x84], esp
push ecx
mov ecx, esp
mov dword [esp + 0x6c], esp
push 6
push 0x476060
call fcn.0043f770
push esi
call fcn.0044c070
sub esp, 8
mov byte [esp + 0x1c8], 7
mov esi, esp
mov dword [esp + 0x78], esp
push ecx
mov ecx, esp
mov dword [esp + 0x7c], esp
push 6
push 0x475a98
call fcn.0043f770
push esi
call fcn.0044c070
add esp, 8
lea eax, [esp + 0xa4]
mov byte [esp + 0x1c8], 2
push eax
mov ecx, 0x4824d0
call fcn.004485f0
mov edx, dword [0x46814c]
mov cx, word [eax]
push edx
add eax, 4
mov word [esp + 0x24], cx
push ebx
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x174], 8
call fcn.00413240
mov eax, dword [esp + 0x4c]
mov byte [esp + 0x168], 2
cmp eax, ebx
je 0x422942
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x422939
cmp al, 0xff
je 0x422939
dec al
mov byte [ecx], al
jmp 0x422942
push ecx
call fcn.00458510
add esp, 4
lea ecx, [esp + 0x20]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
call fcn.004440e0
cmp ax, 2
je 0x422971
lea ecx, [esp + 0x20]
call fcn.004440e0
cmp ax, 1
je 0x4229c2
jmp 0x4227ce
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x422996
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x42298d
cmp al, 0xff
je 0x42298d
dec al
mov byte [ecx], al
jmp 0x422996
push ecx
call fcn.00458510
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov byte [esp + 0x168], bl
call fcn.0043f810
mov dword [esp + 0x168], 0xffffffff
jmp 0x422c9b
lea eax, [esp + 0x44]
lea ecx, [esp + 0x20]
push eax
call fcn.00447a00
mov edi, dword [eax + 4]
cmp edi, ebx
jne 0x4229dc
mov edi, 0x468288
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x60]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x48]
and ecx, 3
cmp eax, ebx
rep movsb byte es:[edi], byte [esi]
je 0x422a22
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x422a19
cmp al, 0xff
je 0x422a19
dec al
mov byte [ecx], al
jmp 0x422a22
push ecx
call fcn.00458510
add esp, 4
or esi, 0xffffffff
lea edi, [esp + 0x60]
mov ecx, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
jne 0x422a71
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 6
push 0x4755e4
call fcn.0043f770
push ecx
mov byte [esp + 0x178], 9
mov ecx, esp
mov dword [esp + 0x44], esp
push 6
push 0x476058
jmp 0x422c14
lea ecx, [esp + 0x60]
push ecx
call fcn.00458f5e
add esp, 4
lea edx, [esp + 0x14]
mov ecx, ebp
mov dword [esp + 0x3c], eax
push edx
push 0x475e48
call fcn.0041c6c0
test ax, ax
jg 0x422ac9
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 6
push 0x475710
call fcn.0043f770
push ecx
mov byte [esp + 0x178], 0xa
mov ecx, esp
mov dword [esp + 0x44], esp
push 6
push 0x4759e4
jmp 0x422c14
push 2
lea ecx, [esp + 0x18]
call fcn.0043f9e0
cmp al, 0x67
je 0x422b46
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 6
push 0x4755e4
call fcn.0043f770
push ecx
mov byte [esp + 0x178], 0xb
mov ecx, esp
mov dword [esp + 0x44], esp
push 6
push 0x475a88
call fcn.0043f770
mov ecx, 0x4824d0
mov byte [esp + 0x178], 2
call fcn.004483e0
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x422c78
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x422c6f
cmp al, 0xff
je 0x422c6f
dec al
mov byte [ecx], al
jmp 0x422c78
push 5
lea ecx, [esp + 0x18]
call fcn.0043f9e0
mov dl, al
push 4
lea ecx, [esp + 0x18]
mov byte [esp + 0x17], dl
call fcn.0043f9e0
xor edx, edx
push 6
mov dh, al
mov al, byte [esp + 0x17]
mov dl, al
lea ecx, [esp + 0x18]
shl edx, 8
mov dword [esp + 0x3c], edx
call fcn.0043f9e0
mov edx, dword [esp + 0x38]
and eax, 0xff
or edx, eax
push 7
shl edx, 8
lea ecx, [esp + 0x18]
mov dword [esp + 0x3c], edx
call fcn.0043f9e0
mov ecx, dword [esp + 0x38]
and eax, 0xff
or ecx, eax
mov eax, dword [esp + 0x3c]
add eax, ecx
push 0x475e5c
mov edx, eax
mov ecx, eax
sar edx, 0x18
mov byte [0x475e55], dl
mov edx, eax
sar ecx, 0x10
mov byte [0x475e56], cl
push 0x475e50
sar edx, 8
mov ecx, ebp
mov byte [0x475e57], dl
mov byte [0x475e5d], al
call fcn.0041f520
push ebx
push 1
push ecx
test ax, ax
mov ecx, esp
jg 0x422c47
mov dword [esp + 0x24], esp
push 6
push 0x4755e4
call fcn.0043f770
push ecx
mov byte [esp + 0x178], 0xc
mov ecx, esp
mov dword [esp + 0x44], esp
push 6
push 0x475a88
call fcn.0043f770
mov ecx, 0x4824d0
mov byte [esp + 0x178], 2
call fcn.004483e0
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x422c78
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x422c6f
cmp al, 0xff
je 0x422c6f
dec al
mov byte [ecx], al
jmp 0x422c78
mov dword [esp + 0x24], esp
push 6
push 0x4755e4
call fcn.0043f770
push ecx
mov byte [esp + 0x178], 0xd
mov ecx, esp
mov dword [esp + 0x44], esp
push 6
push 0x475a80
jmp 0x422c14
push ecx
call fcn.00458510
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov byte [esp + 0x168], bl
call fcn.0043f810
mov dword [esp + 0x168], esi
lea ecx, [esp + 0x1c]
call fcn.0043f810
mov ecx, dword [esp + 0x160]
pop edi
pop esi
pop ebp
mov ax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x15c
ret