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

Disassembly:
push 0xffffffffffffffff
push 0x4eb22f
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.004c3df0
mov byte [esp + 0xbc], 2
mov edi, dword [esp + 0x64]
test edi, edi
je 0x4a26a2
xor ecx, ecx
test edi, edi
je 0x4a218f
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 0x4a218a
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 0x4a2160
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.004c3d10
mov byte [esp + 0xc4], 3
lea ecx, [esp + 0x8c]
call fcn.004958a0
push 0
lea edx, [esp + 0x90]
lea ecx, [esp + 0x78]
call fcn.00498120
add esp, 0xc
mov byte [esp + 0xbc], 4
mov ebp, dword [esp + 0xe0]
and ebp, 0x80000001
jns 0x4a221b
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 0x4a2302
mov ecx, dword [esp + 0x4c]
mov eax, edi
and eax, 1
cmp eax, ebp
jne 0x4a22f7
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 0x4a2415
lea esi, [ecx + 1]
cmp esi, 0xfffffffe
ja 0x4a2415
cmp dword [esp + 0x50], esi
jae 0x4a22a6
push ecx
push esi
lea ecx, [esp + 0x44]
call fcn.00403250
jmp 0x4a22bf
test esi, esi
jne 0x4a22c5
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 0x4a22f7
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 0x4a2258
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x70]
call fcn.004a4630
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.004827f0
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 0x4a23c4
cmp edi, esi
je 0x4a23c4
push 1
push esi
lea ecx, [esp + 0x2c]
call fcn.00402f40
test al, al
je 0x4a23b5
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 0x4a2449
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 0x4a241f
jmp 0x4a2421
push str.string_too_long
call fcn.004c46d3
sub eax, edx
push dword [esp + 0x18]
lea ecx, [esp + 0x28]
push 1
push eax
call fcn.00488140
mov ecx, dword [esp + 0xe4]
mov edx, dword [esp + 0xd0]
mov edi, dword [esp + 0x38]
mov ebp, dword [esp + 0x34]
jmp 0x4a23e1
cmp ebp, 5
jbe 0x4a2492
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 0x4a24d0
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 0x4a2504
mov eax, dword [esp + 0x34]
inc eax
je 0x4a252a
push eax
lea eax, [esp + 0x28]
push eax
push ebx
call fcn.004c5170
add esp, 0xc
jmp 0x4a252a
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 0x4a2570
push dword [esp + 0x24]
call fcn.004c515a
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 0x4a25a0
push dword [esp + 0x3c]
call fcn.004c515a
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 0x4a25d3
push dword [esp + 0x6c]
call fcn.004c515a
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 0x4a260c
push dword [esp + 0x84]
call fcn.004c515a
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 0x4a2647
push dword [esp + 0x54]
call fcn.004c515a
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 0x4a267d
push dword [esp + 0xd0]
call fcn.004c515a
add esp, 4
mov dword [esp + 0xe4], 0xf
mov dword [esp + 0xe0], 0
mov byte [esp + 0xd0], 0
mov eax, ebx
jmp 0x4a272c
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 0x4a26d6
push dword [esp + 0x54]
call fcn.004c515a
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 0x4a270c
push dword [esp + 0xd0]
call fcn.004c515a
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.004c515f
add esp, 0xac
ret 0x24