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

Disassembly:
push 0xffffffffffffffff
push 0x4eaf5f
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x50e74c]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50e74c]
xor eax, esp
push eax
lea eax, [esp + 0xb4]
mov dword fs:[0], eax
mov esi, dword [esp + 0xc4]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x14], 0
mov dword [esp + 0xbc], 1
lea edx, [esp + 0xd0]
lea ecx, [esp + 0x54]
call fcn.004c3b50
mov byte [esp + 0xbc], 2
mov edi, dword [esp + 0x64]
test edi, edi
je 0x4a2402
xor ecx, ecx
test edi, edi
je 0x4a1eef
mov edx, dword [esp + 0x68]
mov esi, dword [esp + 0x54]
nop
cmp edx, 0x10
lea eax, [esp + 0x54]
cmovae eax, esi
cmp byte [eax + ecx], 0x3d
jne 0x4a1eea
cmp edx, 0x10
lea eax, [esp + 0x54]
cmovae eax, esi
mov byte [eax + ecx], 0x7c
mov edx, dword [esp + 0x68]
mov edi, dword [esp + 0x64]
mov esi, dword [esp + 0x54]
inc ecx
cmp ecx, edi
jb 0x4a1ec0
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0xdc]
call fcn.00402bf0
cmp dword [esp + 0xe4], 0x10
lea eax, [esp + 0x9c]
push eax
push dword [esp + 0xe4]
lea edx, [esp + 0xd8]
cmovae edx, dword [esp + 0xd8]
lea ecx, [esp + 0x8c]
call fcn.004c3a70
mov byte [esp + 0xc4], 3
lea ecx, [esp + 0x8c]
call fcn.00495600
push 0
lea edx, [esp + 0x90]
lea ecx, [esp + 0x78]
call fcn.00497e80
add esp, 0xc
mov byte [esp + 0xbc], 4
mov ebp, dword [esp + 0xe0]
and ebp, 0x80000001
jns 0x4a1f7b
dec ebp
or ebp, 0xfffffffe
inc ebp
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], 0
mov byte [esp + 0x3c], 0
mov byte [esp + 0xbc], 5
xor edi, edi
cmp dword [esp + 0x7c], edi
jbe 0x4a2062
mov ecx, dword [esp + 0x4c]
mov eax, edi
and eax, 1
cmp eax, ebp
jne 0x4a2057
cmp dword [esp + 0x80], 0x10
lea eax, [esp + 0x6c]
cmovae eax, dword [esp + 0x6c]
mov bl, byte [eax + edi]
or eax, 0xffffffff
sub eax, ecx
cmp eax, 1
jbe 0x4a2175
lea esi, [ecx + 1]
cmp esi, 0xfffffffe
ja 0x4a2175
cmp dword [esp + 0x50], esi
jae 0x4a2006
push ecx
push esi
lea ecx, [esp + 0x44]
call fcn.00403250
jmp 0x4a201f
test esi, esi
jne 0x4a2025
cmp dword [esp + 0x50], 0x10
lea eax, [esp + 0x3c]
mov dword [esp + 0x4c], esi
cmovae eax, dword [esp + 0x3c]
mov byte [eax], 0
mov ecx, dword [esp + 0x4c]
test esi, esi
setne al
test al, al
je 0x4a2057
cmp dword [esp + 0x50], 0x10
lea eax, [esp + 0x3c]
cmovae eax, dword [esp + 0x3c]
mov byte [ecx + eax], bl
lea eax, [esp + 0x3c]
cmp dword [esp + 0x50], 0x10
mov dword [esp + 0x4c], esi
cmovae eax, dword [esp + 0x3c]
mov byte [esi + eax], 0
mov ecx, dword [esp + 0x4c]
inc edi
cmp edi, dword [esp + 0x7c]
jb 0x4a1fb8
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x70]
call fcn.004a4390
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x80]
push 0xffffffffffffffff
mov dword [esp + 0x84], eax
lea eax, [esp + 0x70]
push 0
mov dword [esp + 0x58], ecx
lea ecx, [esp + 0xd8]
push eax
call fcn.004820b0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], 0
mov byte [esp + 0x24], 0
mov byte [esp + 0xbc], 7
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0xe0]
mov edi, dword [esp + 0x38]
cmp ebp, esi
ja 0x4a2124
cmp edi, esi
je 0x4a2124
push 1
push esi
lea ecx, [esp + 0x2c]
call fcn.00402f40
test al, al
je 0x4a2115
cmp dword [esp + 0x38], 0x10
lea eax, [esp + 0x24]
mov dword [esp + 0x34], ebp
cmovae eax, dword [esp + 0x24]
mov byte [eax + ebp], 0
mov ebp, dword [esp + 0x34]
mov edi, dword [esp + 0x38]
mov esi, dword [esp + 0xe0]
mov ecx, dword [esp + 0xe4]
lea eax, [esp + 0xd0]
mov edx, dword [esp + 0xd0]
cmp ecx, 0x10
cmovae eax, edx
add esi, eax
cmp ecx, 0x10
lea eax, [esp + 0xd0]
cmovae eax, edx
cmp esi, eax
je 0x4a21a9
mov al, byte [esi - 1]
lea edx, [esp + 0x24]
dec esi
mov byte [esp + 0x18], al
cmp edi, 0x10
lea eax, [esp + 0x24]
cmovae eax, dword [esp + 0x24]
cmovae edx, dword [esp + 0x24]
add eax, ebp
jne 0x4a217f
jmp 0x4a2181
push str.string_too_long
call fcn.004c4423
sub eax, edx
push dword [esp + 0x18]
lea ecx, [esp + 0x28]
push 1
push eax
call fcn.00487d90
mov ecx, dword [esp + 0xe4]
mov edx, dword [esp + 0xd0]
mov edi, dword [esp + 0x38]
mov ebp, dword [esp + 0x34]
jmp 0x4a2141
cmp ebp, 5
jbe 0x4a21f2
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x24]
cmp edi, 0x10
lea ecx, [esp + 0x24]
cmovae eax, edx
cmovae ecx, edx
mov bl, byte [eax + 5]
lea eax, [esp + 0x24]
cmovae eax, edx
mov al, byte [eax + ebp - 5]
mov byte [ecx + 5], al
lea ecx, [esp + 0x24]
cmp dword [esp + 0x38], 0x10
mov eax, dword [esp + 0x34]
cmovae ecx, dword [esp + 0x24]
mov byte [eax + ecx - 5], bl
mov edi, dword [esp + 0x38]
mov ebp, dword [esp + 0x34]
test ebp, ebp
je 0x4a2230
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x24]
cmp edi, 0x10
lea ecx, [esp + 0x24]
cmovae eax, edx
cmovae ecx, edx
mov bl, byte [eax]
lea eax, [esp + 0x24]
cmovae eax, edx
mov al, byte [eax + ebp - 1]
mov byte [ecx], al
lea ecx, [esp + 0x24]
cmp dword [esp + 0x38], 0x10
mov eax, dword [esp + 0x34]
cmovae ecx, dword [esp + 0x24]
mov byte [eax + ecx - 1], bl
mov ebx, dword [esp + 0x1c]
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], 0
mov byte [ebx], 0
cmp dword [esp + 0x38], 0x10
jae 0x4a2264
mov eax, dword [esp + 0x34]
inc eax
je 0x4a228a
push eax
lea eax, [esp + 0x28]
push eax
push ebx
call fcn.004c4ec0
add esp, 0xc
jmp 0x4a228a
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ebx
mov byte [esp + 0xbc], 8
mov eax, dword [esp + 0x24]
mov dword [ebx], eax
mov byte [esp + 0xbc], 7
mov dword [esp + 0x24], 0
mov eax, dword [esp + 0x34]
mov dword [ebx + 0x10], eax
mov eax, dword [esp + 0x38]
mov dword [ebx + 0x14], eax
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], 0
mov byte [esp + 0x24], 0
mov dword [esp + 0x14], 1
mov byte [esp + 0xbc], 5
cmp dword [esp + 0x38], 0x10
jb 0x4a22d0
push dword [esp + 0x24]
call fcn.004c4eaa
add esp, 4
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], 0
mov byte [esp + 0x24], 0
mov byte [esp + 0xbc], 4
cmp dword [esp + 0x50], 0x10
jb 0x4a2300
push dword [esp + 0x3c]
call fcn.004c4eaa
add esp, 4
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], 0
mov byte [esp + 0x3c], 0
mov byte [esp + 0xbc], 3
cmp dword [esp + 0x80], 0x10
jb 0x4a2333
push dword [esp + 0x6c]
call fcn.004c4eaa
add esp, 4
mov dword [esp + 0x80], 0xf
mov dword [esp + 0x7c], 0
mov byte [esp + 0x6c], 0
mov byte [esp + 0xbc], 2
cmp dword [esp + 0x98], 8
jb 0x4a236c
push dword [esp + 0x84]
call fcn.004c4eaa
add esp, 4
xor eax, eax
mov dword [esp + 0x98], 7
mov dword [esp + 0x94], 0
mov word [esp + 0x84], ax
mov byte [esp + 0xbc], 1
cmp dword [esp + 0x68], 0x10
jb 0x4a23a7
push dword [esp + 0x54]
call fcn.004c4eaa
add esp, 4
mov dword [esp + 0x68], 0xf
mov dword [esp + 0x64], 0
mov byte [esp + 0x54], 0
mov byte [esp + 0xbc], 0
cmp dword [esp + 0xe4], 0x10
jb 0x4a23dd
push dword [esp + 0xd0]
call fcn.004c4eaa
add esp, 4
mov dword [esp + 0xe4], 0xf
mov dword [esp + 0xe0], 0
mov byte [esp + 0xd0], 0
mov eax, ebx
jmp 0x4a248c
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
mov dword [esp + 0x14], 1
mov byte [esp + 0xbc], 1
cmp dword [esp + 0x68], 0x10
jb 0x4a2436
push dword [esp + 0x54]
call fcn.004c4eaa
add esp, 4
mov dword [esp + 0x68], 0xf
mov dword [esp + 0x64], 0
mov byte [esp + 0x54], 0
mov byte [esp + 0xbc], 0
cmp dword [esp + 0xe4], 0x10
jb 0x4a246c
push dword [esp + 0xd0]
call fcn.004c4eaa
add esp, 4
mov dword [esp + 0xe4], 0xf
mov dword [esp + 0xe0], 0
mov byte [esp + 0xd0], 0
mov eax, esi
mov ecx, dword [esp + 0xb4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.004c4eaf
add esp, 0xac
ret 0x24