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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4fb605
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x5450d0]
xor eax, esp
mov dword [esp + 0x100], eax
push ebx
push esi
push edi
mov eax, dword [0x5450d0]
xor eax, esp
push eax
lea eax, [esp + 0x118]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push 0x516198
push eax
mov dword [esp + 0x30], eax
mov byte [esp + 0x1f], 0
call fcn.00479ebe
mov esi, eax
call fcn.00479e10
mov edi, dword [ebp + 0xc]
mov ebx, dword [edi + 0xc4]
add edi, 0xb8
lea esi, [esp + 0x18]
mov dword [esp + 0x20], eax
call fcn.004bb844
mov ebx, dword [edi + 0x10]
lea esi, [esp + 0x2c]
call fcn.004bb844
mov eax, dword [esp + 0x18]
xor ebx, ebx
cmp eax, ebx
je 0x4ba939
cmp eax, dword [esp + 0x2c]
je 0x4ba93e
call 0x511b64
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x30]
je 0x4ba9c1
lea esi, [esp + 0x18]
call fcn.0046e9ed
cmp dword [eax], ebx
je 0x4ba95c
mov byte [esp + 0x17], 1
jmp 0x4ba9b3
lea esi, [esp + 0x18]
call fcn.0046e9ed
lea ebx, [eax + 0x34]
call fcn.0046e9ed
mov esi, eax
add esi, 0x20
jmp 0x4ba982
movzx eax, byte [esi]
push eax
push dword [esp + 0x24]
call fcn.00461445
inc esi
cmp esi, ebx
jne 0x4ba974
lea esi, [esp + 0x18]
call fcn.0046e9ed
mov ebx, eax
call fcn.0046e9ed
lea ecx, [esp + 0x20]
push ecx
movzx ecx, word [ebx + 0x1c]
push ecx
mov ecx, eax
lea ebx, [esp + 0x7c]
call fcn.0046bce5
mov esi, eax
call fcn.004bcb5c
pop ecx
lea esi, [esp + 0x18]
call fcn.004bb50c
jmp 0x4ba929
cmp byte [esp + 0x17], bl
je 0x4bab8c
push 0x51dbb0
push dword [esp + 0x2c]
call fcn.00479ebe
push ebx
lea ecx, [esp + 0xf8]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x110], 0xf
call fcn.00440598
mov dword [esp + 0x120], ebx
mov ebx, dword [edi + 0xc]
lea esi, [esp + 0x18]
call fcn.004bb844
mov ebx, dword [edi + 0x10]
lea esi, [esp + 0x2c]
call fcn.004bb844
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4baa22
cmp eax, dword [esp + 0x2c]
je 0x4baa27
call 0x511b64
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x30]
je 0x4bab7c
lea esi, [esp + 0x18]
call fcn.0046e9ed
cmp dword [eax], 1
jne 0x4bab6e
push 0x26
pop eax
lea ecx, [esp + 0xf4]
call fcn.0044dea5
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0xf8]
call fcn.004490f5
call fcn.0046e9ed
mov edi, eax
call fcn.0046e9ed
lea ebx, [edi + 0x34]
lea edi, [eax + 0x20]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x38], eax
mov eax, ebx
sub eax, edi
push eax
lea esi, [esp + 0x48]
lea eax, [esp + 0x38]
call fcn.0044ec4c
mov eax, edi
cmp edi, ebx
je 0x4baab1
mov esi, dword [esp + 0x24]
sub esi, edi
mov cl, byte [eax]
mov byte [esi + eax], cl
inc eax
cmp eax, ebx
jne 0x4baaa7
push 0x14
lea ecx, [esp + 0x24]
call fcn.0044ba8c
lea esi, [esp + 0x18]
call fcn.0046e9ed
mov edi, eax
call fcn.0046e9ed
movzx ecx, word [edi + 0x1c]
push ecx
mov ecx, eax
lea ebx, [esp + 0x78]
call fcn.0046bce5
mov esi, eax
push esi
lea ebx, [esp + 0x50]
call fcn.0046bd8e
lea edx, [esp + 0x20]
mov ecx, eax
call fcn.004bd804
movzx eax, word [esi + 2]
push eax
call dword [0x50b6e8]
movzx eax, ax
push eax
lea eax, [esp + 0x24]
call fcn.004bd8a8
pop ecx
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0xf8]
call fcn.004490f5
mov edi, eax
lea eax, [esp + 0x20]
call fcn.0044e22c
lea ecx, [esp + 0xf4]
call fcn.0044dea5
lea eax, [esp + 0xf4]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.0047a1e5
mov esi, dword [esp + 0x28]
push eax
mov byte [esp + 0x124], 1
call fcn.00454591
call fcn.00459fcb
lea esi, [esp + 0x4c]
mov byte [esp + 0x120], 0
call fcn.0047a3d8
lea esi, [esp + 0x18]
call fcn.004bb50c
jmp 0x4baa14
push 0
push 1
lea ecx, [esp + 0xfc]
call fcn.0044046c
mov ecx, dword [esp + 0x118]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x100]
xor ecx, esp
call 0x511697
mov esp, ebp
pop ebp
ret