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

Disassembly:
push 0xffffffffffffffff
push 0x4fe918
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x56a5a0]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x56a5a0]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x98]
mov edi, dword [esp + 0xa0]
lea edx, [esp + 0x38]
push edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], ecx
call fcn.004a06a0
push eax
mov dword [esp + 0x84], 0
call fcn.004a6d30
mov ebp, dword [esp + 0x3c]
add esp, 4
mov ebx, eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x80], 0xffffffff
test ebp, ebp
je 0x4a7573
push 0
lea ecx, [esp + 0x20]
call fcn.004acec7
mov eax, dword [ebp + 4]
test eax, eax
jbe 0x4a7551
cmp eax, 0xffffffff
jae 0x4a7551
dec eax
mov dword [ebp + 4], eax
mov esi, dword [ebp + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [esp + 0x1c]
and esi, ebp
call fcn.004aceef
test esi, esi
je 0x4a7573
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
lea eax, [esp + 0x58]
push eax
mov ecx, ebx
call fcn.004a35f0
mov edx, dword [ebx]
mov eax, dword [edx + 8]
mov esi, 1
mov ecx, ebx
mov dword [esp + 0x80], esi
call eax
xor ecx, ecx
mov byte [esp + 0x1c], al
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], ecx
mov byte [esp + 0x40], cl
mov al, byte [edi]
mov byte [esp + 0x80], 2
cmp al, 0x2b
je 0x4a75c0
mov dword [esp + 0x20], ecx
cmp al, 0x2d
jne 0x4a75c4
mov dword [esp + 0x20], esi
call fcn.004cf5ba
mov ecx, dword [eax]
mov ebx, dword [esp + 0xb0]
mov dl, byte [ecx]
push ebx
push 0x65
push edi
mov byte [esp + 0x20], dl
mov byte [esp + 0x21], 0x65
mov byte [esp + 0x22], 0
call fcn.004cdcb0
mov esi, eax
movsx eax, byte [esp + 0x20]
push ebx
push eax
push edi
call fcn.004cdcb0
mov ebp, eax
add esp, 0x18
test ebp, ebp
jne 0x4a760a
mov dword [esp + 0xac], eax
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x5c]
mov eax, edx
cmp ecx, 0x10
jae 0x4a761d
lea eax, [esp + 0x5c]
cmp byte [eax], 0x7f
je 0x4a776d
mov eax, edx
cmp ecx, 0x10
jae 0x4a7631
lea eax, [esp + 0x5c]
cmp byte [eax], 0
jle 0x4a776d
push ebx
push edi
lea ecx, [esp + 0x44]
call fcn.0040f59d
test esi, esi
jne 0x4a7665
mov ecx, dword [esp + 0xac]
push 0x30
push ecx
lea ecx, [esp + 0x44]
call fcn.0044f934
mov ebx, dword [esp + 0xa4]
jmp 0x4a769d
test ebp, ebp
jne 0x4a7680
mov edx, dword [esp + 0xa4]
push 0x30
push edx
lea ecx, [esp + 0x44]
call fcn.0044f934
xor ebx, ebx
jmp 0x4a7687
mov ebx, dword [esp + 0xa4]
mov eax, dword [esp + 0xac]
push 0x30
push eax
sub esi, edi
push esi
lea ecx, [esp + 0x48]
call fcn.004a34f0
push 0x30
test ebp, ebp
jne 0x4a76af
push ebx
lea ecx, [esp + 0x44]
call fcn.0044f934
jmp 0x4a76e0
mov ecx, dword [esp + 0xac]
mov esi, ebp
sub esi, edi
push ecx
lea edx, [esi + 1]
push edx
lea ecx, [esp + 0x48]
call fcn.004a34f0
push 0x30
push ebx
push esi
lea ecx, [esp + 0x48]
call fcn.004a34f0
mov dword [esp + 0xa8], 0
mov edi, dword [esp + 0x5c]
mov ebx, 0x10
mov dword [esp + 0xa4], 0
cmp dword [esp + 0x70], ebx
jae 0x4a76fe
lea edi, [esp + 0x5c]
mov eax, dword [esp + 0x40]
cmp dword [esp + 0x54], ebx
jae 0x4a770c
lea eax, [esp + 0x40]
lea ecx, [esp + 0x14]
push ecx
push eax
call fcn.004cfe20
mov esi, eax
mov al, byte [edi]
add esp, 8
cmp al, 0x7f
je 0x4a7750
test al, al
jle 0x4a7750
mov edx, esi
sub edx, dword [esp + 0x20]
movsx eax, al
cmp eax, edx
jae 0x4a7750
push 0
sub esi, eax
push 1
push esi
lea ecx, [esp + 0x48]
call fcn.004a34f0
cmp byte [edi + 1], 0
jle 0x4a774a
inc edi
mov al, byte [edi]
cmp al, 0x7f
jne 0x4a7722
mov edi, dword [esp + 0x40]
cmp dword [esp + 0x54], ebx
jae 0x4a775e
lea edi, [esp + 0x40]
mov ebx, dword [esp + 0x50]
mov dword [esp + 0xac], 0
mov ecx, dword [esp + 0xa8]
mov eax, dword [esp + 0xa4]
mov edx, dword [esp + 0x30]
add eax, ecx
add eax, dword [esp + 0xac]
mov ecx, dword [edx + 0x18]
add eax, ebx
test ecx, ecx
jle 0x4a779d
cmp ecx, eax
jbe 0x4a779d
sub ecx, eax
mov dword [esp + 0x18], ecx
jmp 0x4a77a5
mov dword [esp + 0x18], 0
mov eax, dword [edx + 0x10]
mov esi, dword [esp + 0x88]
and eax, 0x1c0
cmp eax, 0x40
je 0x4a7884
cmp eax, 0x100
je 0x4a7801
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x94]
push edx
mov edx, dword [esp + 0x94]
push eax
push ecx
push edx
lea eax, [esp + 0x30]
push eax
push esi
call fcn.004a2df0
mov ecx, dword [eax]
mov dword [esp + 0xa8], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0xac], edx
jmp 0x4a7879
cmp dword [esp + 0x20], 0
jbe 0x4a783e
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x90]
push 1
push edi
push eax
push ecx
lea edx, [esp + 0x30]
push edx
push esi
call fcn.004a2e60
mov ecx, dword [eax]
mov dword [esp + 0xa8], ecx
mov edx, dword [eax + 4]
add esp, 0x18
inc edi
mov dword [esp + 0x94], edx
dec ebx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0x94]
push eax
mov eax, dword [esp + 0x94]
push ecx
push edx
push eax
lea ecx, [esp + 0x30]
push ecx
push esi
call fcn.004a2df0
mov edx, dword [eax]
mov dword [esp + 0xa8], edx
mov eax, dword [eax + 4]
mov dword [esp + 0xac], eax
mov dword [esp + 0x30], 0
add esp, 0x18
movsx ecx, byte [esp + 0x14]
push ebx
push ecx
push edi
call fcn.004cdcb0
add esp, 0xc
test eax, eax
je 0x4a7985
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x94]
sub eax, edi
inc eax
push edx
mov edx, dword [esp + 0x94]
mov ebp, eax
lea eax, [ebp - 1]
push eax
push edi
push ecx
push edx
lea eax, [esp + 0x34]
push eax
push esi
call fcn.004a2ed0
mov ecx, dword [eax]
mov dword [esp + 0xac], ecx
mov edx, dword [eax + 4]
mov ecx, dword [esp + 0xc0]
push ecx
mov dword [esp + 0xb4], edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
push 0x30
push edx
push eax
lea ecx, [esp + 0x4c]
push ecx
push esi
call fcn.004a2df0
mov edx, dword [eax]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0xc4], edx
mov eax, dword [eax + 4]
mov dword [esp + 0xc8], eax
mov edx, dword [ecx]
mov eax, dword [edx + 4]
add esp, 0x34
call eax
mov edx, dword [esp + 0x94]
push 1
mov byte [esp + 0x2c], al
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x94]
push ecx
push edx
push eax
lea ecx, [esp + 0x30]
push ecx
push esi
call fcn.004a2df0
mov edx, dword [eax]
mov dword [esp + 0xa8], edx
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0xc0]
push edx
mov dword [esp + 0xb0], ecx
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push 0x30
push ecx
push edx
lea eax, [esp + 0x50]
push eax
push esi
call fcn.004a2df0
mov ecx, dword [eax]
mov dword [esp + 0xc0], ecx
mov edx, dword [eax + 4]
add esp, 0x30
add edi, ebp
mov dword [esp + 0x94], edx
sub ebx, ebp
push ebx
push 0x65
push edi
call fcn.004cdcb0
add esp, 0xc
test eax, eax
je 0x4a7a56
mov edx, dword [esp + 0x94]
sub eax, edi
inc eax
mov ebp, eax
mov eax, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x94]
lea ecx, [ebp - 1]
push ecx
push edi
push edx
push eax
lea ecx, [esp + 0x3c]
push ecx
push esi
call fcn.004a2ed0
mov edx, dword [eax]
mov dword [esp + 0xac], edx
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0xc8]
push edx
mov dword [esp + 0xb4], ecx
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push 0x30
push ecx
push edx
lea eax, [esp + 0x54]
push eax
push esi
call fcn.004a2df0
mov ecx, dword [eax]
mov dword [esp + 0xc4], ecx
mov ecx, dword [esp + 0x64]
mov edx, dword [eax + 4]
add esp, 0x34
test byte [ecx + 0x10], 4
mov dword [esp + 0x94], edx
mov dword [esp + 0xac], 0
mov ecx, 0x51ae60
jne 0x4a7a27
mov ecx, 0x51ae5c
mov edx, dword [eax + 4]
mov eax, dword [eax]
push 1
push ecx
push edx
push eax
lea ecx, [esp + 0x38]
push ecx
push esi
call fcn.004a2e60
mov edx, dword [eax]
mov dword [esp + 0xa8], edx
mov eax, dword [eax + 4]
add esp, 0x18
add edi, ebp
mov dword [esp + 0x94], eax
sub ebx, ebp
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x94]
mov eax, dword [esp + 0x90]
push ecx
push ebx
push edi
push edx
push eax
lea ecx, [esp + 0x3c]
push ecx
push esi
call fcn.004a2ed0
mov edx, dword [eax]
mov dword [esp + 0xac], edx
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0xc8]
push edx
mov dword [esp + 0xb4], ecx
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push 0x30
push ecx
push edx
lea eax, [esp + 0x54]
push eax
push esi
call fcn.004a2df0
mov ecx, dword [eax]
mov edx, dword [esp + 0x64]
mov edi, dword [esp + 0x68]
mov dword [esp + 0xc4], ecx
mov eax, dword [eax + 4]
xor ebx, ebx
mov dword [edx + 0x18], ebx
mov edx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0xd4]
push edx
push eax
push ecx
push edi
push esi
mov dword [esp + 0xe0], eax
call fcn.004a2df0
mov esi, 0x10
add esp, 0x4c
cmp dword [esp + 0x54], esi
jb 0x4a7af8
mov eax, dword [esp + 0x40]
push eax
call fcn.004c9b42
add esp, 4
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], 0
cmp dword [esp + 0x70], esi
jb 0x4a7b1c
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.004c9b42
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.004c9b4d
add esp, 0x70
ret