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

Disassembly:
push 0xffffffffffffffff
push 0x4c1cdf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push esi
push edi
xor edi, edi
mov dword [esp + 0x10], edi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x60], 4
call fcn.004a9c50
mov al, byte [esp + 0x6c]
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x24], esp
push edi
mov ecx, esi
mov byte [esp + 0x74], 5
mov byte [esi], al
call fcn.00403270
mov ecx, dword [0x4c21b8]
lea edx, [esp + 0x7c]
push ecx
push edi
push edx
mov ecx, esi
call fcn.00403070
lea ecx, [esp + 0x2c]
call fcn.004aa660
test al, al
je 0x4a9642
mov esi, dword [esp + 0x68]
mov al, byte [esp + 0x9c]
push edi
mov ecx, esi
mov byte [esi], al
call fcn.00403270
mov ecx, dword [0x4c21b8]
lea edx, [esp + 0x9c]
push ecx
push edi
push edx
mov ecx, esi
call fcn.00403070
mov dword [esp + 0x10], 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x60], 4
call fcn.004a9c90
push 1
lea ecx, [esp + 0x70]
mov byte [esp + 0x64], 3
call fcn.00403270
push 1
lea ecx, [esp + 0x80]
mov byte [esp + 0x64], 2
call fcn.00403270
push 1
lea ecx, [esp + 0x90]
mov byte [esp + 0x64], 1
call fcn.00403270
push 1
lea ecx, [esp + 0xa0]
mov byte [esp + 0x64], 0
call fcn.00403270
mov eax, esi
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x58
ret
mov al, byte [esp + 0x9c]
push edi
lea ecx, [esp + 0x3c]
mov byte [esp + 0x3c], al
call fcn.00403270
mov ecx, dword [0x4c21b8]
lea edx, [esp + 0x9c]
push ecx
push edi
push edx
lea ecx, [esp + 0x44]
call fcn.00403070
mov al, byte [esp + 0x68]
push edi
lea ecx, [esp + 0x2c]
mov byte [esp + 0x64], 6
mov byte [esp + 0x2c], al
call fcn.00403270
mov bl, 7
lea ecx, [esp + 0x1c]
mov byte [esp + 0x60], bl
mov byte [esp + 0xf], 0
call fcn.004aa640
test al, al
jne 0x4a98d0
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x20]
call fcn.004a9cc0
mov edx, dword [0x4c21b8]
lea ecx, [esp + 0x28]
push edx
push edi
push eax
mov byte [esp + 0x6c], 8
call fcn.00403070
push 1
lea ecx, [esp + 0x4c]
mov byte [esp + 0x64], bl
call fcn.00403270
mov al, byte [esp + 0xf]
test al, al
jne 0x4a978a
mov al, byte [esp + 0x28]
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x24], esp
push edi
mov ecx, esi
mov byte [esi], al
call fcn.00403270
mov ecx, dword [0x4c21b8]
lea edx, [esp + 0x38]
push ecx
push edi
push edx
mov ecx, esi
call fcn.00403070
lea ecx, [esp + 0x2c]
call fcn.004a9e40
test al, al
je 0x4a985e
mov al, byte [esp + 0x7c]
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x24], esp
push edi
mov ecx, esi
mov byte [esi], al
call fcn.00403270
mov ecx, dword [0x4c21b8]
lea edx, [esp + 0x8c]
push ecx
push edi
push edx
mov ecx, esi
call fcn.00403070
sub esp, 0x10
lea eax, [esp + 0x48]
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
mov byte [esp + 0x84], 9
call fcn.0040fc50
lea ecx, [esp + 0x3c]
mov byte [esp + 0x80], bl
call fcn.004aa0a0
test al, al
je 0x4a985e
mov byte [esp + 0xf], 1
jmp 0x4a985e
mov cl, byte [esp + 0x28]
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x28], esp
push edi
mov byte [esi], cl
mov ecx, esi
call fcn.00403270
mov edx, dword [0x4c21b8]
lea eax, [esp + 0x38]
push edx
push edi
push eax
mov ecx, esi
call fcn.00403070
lea ecx, [esp + 0x2c]
call fcn.004a9e40
test al, al
jne 0x4a98d0
mov cl, byte [esp + 0x28]
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x28], esp
push edi
mov byte [esi], cl
mov ecx, esi
call fcn.00403270
mov edx, dword [0x4c21b8]
lea eax, [esp + 0x38]
push edx
push edi
push eax
mov ecx, esi
call fcn.00403070
lea ecx, [esp + 0x2c]
call fcn.004aa2a0
test al, al
je 0x4a985e
mov cl, byte [esp + 0x8c]
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x28], esp
push edi
mov byte [esi], cl
mov ecx, esi
call fcn.00403270
mov edx, dword [0x4c21b8]
lea eax, [esp + 0x9c]
push edx
push edi
push eax
mov ecx, esi
call fcn.00403070
sub esp, 0x10
lea edx, [esp + 0x48]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
mov byte [esp + 0x84], 0xa
call fcn.0040fc50
lea ecx, [esp + 0x3c]
mov byte [esp + 0x80], bl
call fcn.004aa460
test al, al
jne 0x4a9871
lea ecx, [esp + 0x1c]
call fcn.004aa640
test al, al
je 0x4a96a3
jmp 0x4a98d0
mov al, byte [esp + 0x28]
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x28], esp
push edi
mov ecx, esi
mov byte [esi], al
call fcn.00403270
mov ecx, dword [0x4c21b8]
lea edx, [esp + 0x38]
push ecx
push edi
push edx
mov ecx, esi
call fcn.00403070
lea eax, [esp + 0x58]
lea ecx, [esp + 0x2c]
push eax
call fcn.004aa780
mov ecx, dword [0x4c21b8]
mov byte [esp + 0x60], 0xb
push ecx
push edi
push eax
lea ecx, [esp + 0x44]
call fcn.00403070
push 1
lea ecx, [esp + 0x4c]
mov byte [esp + 0x64], bl
call fcn.00403270
mov esi, dword [esp + 0x68]
mov dl, byte [esp + 0x38]
push edi
mov ecx, esi
mov byte [esi], dl
call fcn.00403270
mov eax, dword [0x4c21b8]
lea ecx, [esp + 0x38]
push eax
push edi
push ecx
mov ecx, esi
call fcn.00403070
push 1
lea ecx, [esp + 0x2c]
mov dword [esp + 0x14], 1
mov byte [esp + 0x64], 6
call fcn.00403270
mov eax, dword [esp + 0x3c]
cmp eax, edi
je 0x4a9932
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4a9929
cmp al, 0xff
je 0x4a9929
dec al
mov byte [ecx], al
jmp 0x4a9932
push ecx
call fcn.004ac910
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov byte [esp + 0x60], 4
call fcn.004a9c90
mov ecx, dword [esp + 0x70]
cmp ecx, edi
je 0x4a9970
mov al, byte [ecx - 1]
test al, al
je 0x4a9966
cmp al, 0xff
je 0x4a9966
dec al
mov byte [ecx - 1], al
jmp 0x4a9970
dec ecx
push ecx
call fcn.004ac910
add esp, 4
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x70], edi
cmp ecx, edi
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], edi
je 0x4a99a3
mov al, byte [ecx - 1]
test al, al
je 0x4a9999
cmp al, 0xff
je 0x4a9999
dec al
mov byte [ecx - 1], al
jmp 0x4a99a3
dec ecx
push ecx
call fcn.004ac910
add esp, 4
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x80], edi
cmp ecx, edi
mov dword [esp + 0x84], edi
mov dword [esp + 0x88], edi
je 0x4a99df
mov al, byte [ecx - 1]
test al, al
je 0x4a99d5
cmp al, 0xff
je 0x4a99d5
dec al
mov byte [ecx - 1], al
jmp 0x4a99df
dec ecx
push ecx
call fcn.004ac910
add esp, 4
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0x90], edi
cmp ecx, edi
mov dword [esp + 0x94], edi
mov dword [esp + 0x98], edi
je 0x4a9a2d
mov al, byte [ecx - 1]
test al, al
je 0x4a9a23
cmp al, 0xff
je 0x4a9a23
dec al
mov byte [ecx - 1], al
mov eax, esi
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x58
ret
dec ecx
push ecx
call fcn.004ac910
add esp, 4
mov ecx, dword [esp + 0x58]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x58
ret