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

Disassembly:
push 0xffffffffffffffff
push 0x4c1948
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x1c], ecx
mov al, byte [esp + 0x78]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x70], 1
mov byte [esp + 0x38], al
call fcn.004a6a80
xor eax, eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
lea ecx, [esp + 0x78]
mov byte [esp + 0x70], 2
call fcn.0048d410
movsx ebp, ax
lea esi, [ebp + 2]
push esi
mov dword [esp + 0x1c], esi
call fcn.004ad096
mov ecx, esi
mov ebx, eax
mov edx, ecx
xor eax, eax
mov edi, ebx
add esp, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [esp + 0x78]
mov byte [ebx], 0x20
lea edi, [ebx + 1]
call fcn.0048d420
mov ecx, ebp
mov esi, eax
mov eax, ecx
mov dword [esp + 0x10], 0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x18]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, 1
cmp eax, esi
mov dword [esp + 0x14], esi
jle 0x4a3d61
cmp byte [esi + ebx], 0x20
jne 0x4a3d50
sub esi, dword [esp + 0x10]
cmp esi, 2
jl 0x4a3dce
push esi
call fcn.004ad096
mov ecx, esi
mov ebp, eax
mov edx, ecx
xor eax, eax
mov edi, ebp
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x14]
lea ecx, [esi - 1]
mov edx, ecx
mov edi, ebp
lea esi, [ebx + eax + 1]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
movsx eax, byte [ebp]
push eax
call fcn.004add7c
add esp, 8
test eax, eax
je 0x4a3d21
mov ecx, 6
xor eax, eax
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
movsx ecx, byte [ebp]
push ecx
call fcn.004add2c
add esp, 4
test eax, eax
je 0x4a3cc4
push 0x2e
push ebp
call fcn.004adc70
add esp, 8
test eax, eax
jne 0x4a3cb0
push ebp
mov byte [esp + 0x24], 3
call fcn.004ad899
add esp, 4
mov dword [esp + 0x24], eax
jmp 0x4a3d11
push ebp
mov byte [esp + 0x24], 0xc
call fcn.004ad8a4
fstp qword [esp + 0x34]
add esp, 4
jmp 0x4a3d11
mov ecx, 6
xor eax, eax
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
movsx eax, byte [ebp]
add eax, 0xffffffbe
cmp eax, 0x20
ja case.0x4a3ce9.71
xor edx, edx
mov dl, byte [eax + 0x4a432c]
jmp dword [edx*4 + 0x4a4314]
mov byte [esp + 0x20], 7
jmp 0x4a3d11
mov byte [esp + 0x20], 5
jmp 0x4a3d11
mov byte [esp + 0x20], 9
jmp 0x4a3d11
mov byte [esp + 0x20], 6
jmp 0x4a3d11
mov byte [esp + 0x20], 0xa
lea eax, [esp + 0x20]
lea ecx, [esp + 0x38]
push eax
call fcn.004a5fa0
jmp 0x4a3d3d
lea ecx, [esp + 0x7c]
lea edx, [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x20]
push ebp
push edx
call fcn.004a29b0
test al, al
je 0x4a3e83
push ebp
call fcn.004ac910
mov eax, dword [esp + 0x18]
add esp, 4
mov dword [esp + 0x10], eax
mov esi, eax
mov eax, dword [esp + 0x18]
inc esi
cmp esi, eax
mov dword [esp + 0x14], esi
jl 0x4a3c0c
cmp dword [esp + 0x64], 1
je 0x4a3eef
push ebx
call fcn.004ac910
mov eax, dword [esp + 0x68]
add esp, 4
test eax, eax
mov byte [esp + 0x70], 1
je 0x4a3db3
mov edi, 0x18
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x64]
add ecx, edi
dec eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x64], eax
je 0x4a3da2
cmp ecx, dword [esp + 0x40]
jne 0x4a3dab
lea ecx, [esp + 0x38]
call fcn.004a6990
mov eax, dword [esp + 0x64]
test eax, eax
jne 0x4a3d87
lea ecx, [esp + 0x78]
mov byte [esp + 0x70], 0
call fcn.0048d1e0
mov dword [esp + 0x70], 0xffffffff
jmp 0x4a42f4
push ebx
call fcn.004ac910
mov eax, dword [esp + 0x68]
add esp, 4
test eax, eax
mov byte [esp + 0x70], 1
je 0x4a3db3
mov edi, 0x18
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x64]
add ecx, edi
dec eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x64], eax
je 0x4a3e04
cmp ecx, dword [esp + 0x40]
jne 0x4a3e0d
lea ecx, [esp + 0x38]
call fcn.004a6990
mov eax, dword [esp + 0x64]
test eax, eax
jne 0x4a3de9
jmp 0x4a3db3
push ebp
call fcn.004ac910
push ebx
call fcn.004ac910
mov eax, dword [esp + 0x6c]
add esp, 8
test eax, eax
mov byte [esp + 0x70], 1
je 0x4a3e68
mov edi, 0x18
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x64]
add ecx, edi
dec eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x64], eax
je 0x4a3e57
mov eax, dword [esp + 0x40]
mov edx, ecx
cmp edx, eax
jne 0x4a3e60
lea ecx, [esp + 0x38]
call fcn.004a6990
mov eax, dword [esp + 0x64]
test eax, eax
jne 0x4a3e38
lea ecx, [esp + 0x78]
mov byte [esp + 0x70], 0
call fcn.0048d1e0
mov dword [esp + 0x70], 0xffffffff
jmp 0x4a42f4
push ebp
call fcn.004ac910
push ebx
call fcn.004ac910
mov eax, dword [esp + 0x6c]
add esp, 8
test eax, eax
mov byte [esp + 0x70], 1
je 0x4a3ed4
mov edi, 0x18
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x64]
add ecx, edi
dec eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x64], eax
je 0x4a3ec3
mov eax, ecx
mov ecx, dword [esp + 0x40]
cmp eax, ecx
jne 0x4a3ecc
lea ecx, [esp + 0x38]
call fcn.004a6990
mov eax, dword [esp + 0x64]
test eax, eax
jne 0x4a3ea4
lea ecx, [esp + 0x78]
mov byte [esp + 0x70], 0
call fcn.0048d1e0
mov dword [esp + 0x70], 0xffffffff
jmp 0x4a42f4
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x58]
or ebp, 0xffffffff
mov dword [esp + 0x28], ecx
push ebp
lea ecx, [esp + 0x24]
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], edx
call fcn.004a6b30
mov esi, dword [esp + 0x28]
mov ecx, 6
lea edi, [esp + 0x20]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x20]
cmp al, 7
jae 0x4a4020
and eax, 0xff
dec eax
cmp eax, 5
ja case.default.0x4a3f42
jmp dword [eax*4 + 0x4a4350]
push ebx
call fcn.004ac910
mov eax, dword [esp + 0x68]
add esp, 4
test eax, eax
mov byte [esp + 0x70], 1
je 0x4a42e2
mov edi, 0x18
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x64]
add ecx, edi
dec eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x64], eax
je 0x4a3f8b
mov eax, ecx
mov ecx, dword [esp + 0x40]
cmp eax, ecx
jne 0x4a400f
mov ecx, dword [esp + 0x48]
mov eax, ecx
add ecx, 4
mov dword [esp + 0x48], ecx
mov eax, dword [eax]
push eax
call fcn.004ac910
mov eax, dword [esp + 0x68]
add esp, 4
test eax, eax
jne 0x4a3ff3
lea ecx, [esp + 0x20]
call fcn.004a6a80
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x3c], eax
push ecx
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], eax
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], esi
call fcn.004ac910
add esp, 4
jmp 0x4a400f
mov ecx, dword [esp + 0x48]
mov eax, dword [ecx]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], eax
lea edx, [eax + 0xff0]
mov dword [esp + 0x40], edx
mov eax, dword [esp + 0x64]
test eax, eax
jne 0x4a3f68
jmp 0x4a42e2
cmp al, 0xa
jbe 0x4a4210
cmp al, 0xb
je case.0x4a3f42.1
cmp al, 0xc
jne 0x4a413d
push ebx
call fcn.004ac910
mov eax, dword [esp + 0x68]
mov edi, dword [esp + 0x90]
add esp, 4
mov ecx, 6
lea esi, [esp + 0x20]
mov byte [esp + 0x70], 1
test eax, eax
rep movsd dword es:[edi], dword [esi]
je 0x4a4118
mov edi, 0x18
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x64]
add ecx, edi
dec eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x64], eax
je 0x4a4088
mov eax, dword [esp + 0x40]
mov edx, ecx
cmp edx, eax
jne 0x4a410c
mov ecx, dword [esp + 0x48]
mov eax, ecx
add ecx, 4
mov dword [esp + 0x48], ecx
mov eax, dword [eax]
push eax
call fcn.004ac910
mov eax, dword [esp + 0x68]
add esp, 4
test eax, eax
jne 0x4a40f0
lea ecx, [esp + 0x20]
call fcn.004a6a80
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x40], ecx
push eax
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], esi
call fcn.004ac910
add esp, 4
jmp 0x4a410c
mov ecx, dword [esp + 0x48]
mov eax, dword [ecx]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], eax
lea edx, [eax + 0xff0]
mov dword [esp + 0x40], edx
mov eax, dword [esp + 0x64]
test eax, eax
jne 0x4a4065
lea ecx, [esp + 0x78]
mov byte [esp + 0x70], 0
call fcn.0048d1e0
lea ecx, [esp + 0x7c]
mov dword [esp + 0x70], ebp
call fcn.0048d8d0
mov eax, 1
jmp 0x4a42ff
push ebx
call fcn.004ac910
mov eax, dword [esp + 0x68]
add esp, 4
test eax, eax
mov byte [esp + 0x70], 1
je 0x4a42e2
mov edi, 0x18
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x64]
add ecx, edi
dec eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x64], eax
je 0x4a417b
cmp ecx, dword [esp + 0x40]
jne 0x4a41ff
mov ecx, dword [esp + 0x48]
mov eax, ecx
add ecx, 4
mov dword [esp + 0x48], ecx
mov eax, dword [eax]
push eax
call fcn.004ac910
mov eax, dword [esp + 0x68]
add esp, 4
test eax, eax
jne 0x4a41e3
lea ecx, [esp + 0x20]
call fcn.004a6a80
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x44], edx
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x3c], eax
push edx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x5c], esi
call fcn.004ac910
add esp, 4
jmp 0x4a41ff
mov ecx, dword [esp + 0x48]
mov eax, dword [ecx]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], eax
lea edx, [eax + 0xff0]
mov dword [esp + 0x40], edx
mov eax, dword [esp + 0x64]
test eax, eax
jne 0x4a415c
jmp 0x4a42e2
push ebx
call fcn.004ac910
mov eax, dword [esp + 0x68]
add esp, 4
test eax, eax
mov byte [esp + 0x70], 1
je 0x4a42e2
mov edi, 0x18
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x64]
add ecx, edi
dec eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x64], eax
je 0x4a4252
mov eax, ecx
mov ecx, dword [esp + 0x40]
cmp eax, ecx
jne 0x4a42d6
mov ecx, dword [esp + 0x48]
mov eax, ecx
add ecx, 4
mov dword [esp + 0x48], ecx
mov eax, dword [eax]
push eax
call fcn.004ac910
mov eax, dword [esp + 0x68]
add esp, 4
test eax, eax
jne 0x4a42ba
lea ecx, [esp + 0x20]
call fcn.004a6a80
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x3c], eax
push ecx
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], eax
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], esi
call fcn.004ac910
add esp, 4
jmp 0x4a42d6
mov ecx, dword [esp + 0x48]
mov eax, dword [ecx]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], eax
lea edx, [eax + 0xff0]
mov dword [esp + 0x40], edx
mov eax, dword [esp + 0x64]
test eax, eax
jne 0x4a422f
lea ecx, [esp + 0x78]
mov byte [esp + 0x70], 0
call fcn.0048d1e0
mov dword [esp + 0x70], ebp
lea ecx, [esp + 0x7c]
call fcn.0048d8d0
xor eax, eax
mov ecx, dword [esp + 0x68]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x64
ret 0x18