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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4ba8f2
sub esp, 0x48
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x54]
xor ebx, ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
cmp byte [esp + 0x58], 0
je 0x4ba5e5
mov ecx, edi
mov eax, dword [esp + 0x50]
mov ebx, eax
inc ebx
cmp ebx, esi
ja 0x4ba8bc
mov dword [esp + 0x50], ebx
mov ebx, ecx
add ebx, eax
mov byte [ebx], 0x2d
mov ebx, dword [esp + 0x6c]
cmp ebx, 0
jle 0x4ba86a
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x6c]
cmp ecx, eax
jge 0x4ba600
mov eax, ecx
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x64]
cmp eax, ecx
ja 0x4ba863
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x4c], edi
mov edx, dword [esp + 0x50]
mov dword [esp + 0x54], esi
mov eax, esi
mov ebx, dword [esp + 0x40]
mov ecx, edx
add ecx, ebx
cmp ecx, esi
jbe 0x4ba676
mov dword [esp], 0x5bd1c0
mov dword [esp + 0x30], edi
mov dword [esp + 4], edi
mov dword [esp + 0x34], edx
mov dword [esp + 8], edx
mov dword [esp + 0x38], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x10], ecx
call fcn.0043b4b0
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x38], eax
cmp ecx, eax
ja 0x4ba85c
mov dword [esp + 0x34], ecx
mov eax, dword [esp + 0x40]
mov ebx, dword [esp + 0x50]
mov ebp, edi
mov dword [esp + 0x30], edi
add ebp, ebx
mov dword [esp], ebp
mov ebx, dword [esp + 0x3c]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call fcn.00452680
mov edi, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x6c]
mov ebx, dword [esp + 0x24]
cmp eax, ebx
jle 0x4ba6fb
mov dword [esp + 0x4c], edi
mov edx, edi
mov dword [esp + 0x50], ecx
mov ebx, ecx
mov dword [esp + 0x54], esi
mov eax, ecx
inc ebx
cmp ebx, esi
ja 0x4ba82a
mov ecx, ebx
mov ebx, edx
add ebx, eax
mov byte [ebx], 0x30
mov ebx, dword [esp + 0x24]
inc ebx
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 0x6c]
mov ebx, dword [esp + 0x24]
cmp eax, ebx
jg 0x4ba6c2
mov ebx, dword [esp + 0x74]
cmp ebx, 0
jle 0x4ba7af
mov dword [esp + 0x4c], edi
mov edx, edi
mov dword [esp + 0x50], ecx
mov ebx, ecx
mov dword [esp + 0x54], esi
mov eax, ecx
inc ebx
cmp ebx, esi
ja 0x4ba7f8
mov ecx, ebx
mov ebx, edx
add ebx, eax
mov byte [ebx], 0x2e
mov dword [esp + 0x28], 0
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x74]
cmp ebx, ebp
jge 0x4ba7af
mov byte [esp + 0x23], 0x30
mov eax, dword [esp + 0x6c]
add eax, dword [esp + 0x28]
cmp eax, 0
jl 0x4ba774
mov edx, dword [esp + 0x68]
cmp edx, eax
jle 0x4ba774
mov ebp, dword [esp + 0x60]
cmp eax, ebp
jae 0x4ba7f1
mov ebp, dword [esp + 0x5c]
add ebp, eax
movzx ebx, byte [ebp]
mov byte [esp + 0x23], bl
mov dword [esp + 0x4c], edi
mov edx, edi
mov dword [esp + 0x50], ecx
mov ebx, ecx
mov dword [esp + 0x54], esi
mov eax, ecx
inc ebx
cmp ebx, esi
ja 0x4ba7c2
mov ecx, ebx
mov ebx, edx
add ebx, eax
movzx ebp, byte [esp + 0x23]
xchg ebp, eax
mov byte [ebx], al
xchg ebp, eax
mov ebx, dword [esp + 0x28]
inc ebx
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x74]
cmp ebx, ebp
jl 0x4ba740
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], esi
add esp, 0x48
ret
mov dword [esp], 0x5bd1c0
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
call fcn.0043b4b0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov ecx, eax
inc ecx
mov edi, edx
jmp 0x4ba78d
call fcn.004278c0
ud2
mov dword [esp], 0x5bd1c0
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
call fcn.0043b4b0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov ecx, eax
inc ecx
mov edi, edx
jmp 0x4ba725
mov dword [esp], 0x5bd1c0
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
call fcn.0043b4b0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov ecx, eax
inc ecx
mov edi, edx
jmp 0x4ba6df
call fcn.00427930
ud2
call fcn.00427930
ud2
mov dword [esp + 0x4c], edi
mov edx, edi
mov eax, dword [esp + 0x50]
mov dword [esp + 0x54], esi
mov ebx, eax
inc ebx
cmp ebx, esi
ja 0x4ba88d
mov ecx, ebx
mov ebx, edx
add ebx, eax
mov byte [ebx], 0x30
jmp 0x4ba6fb
mov dword [esp], 0x5bd1c0
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
call fcn.0043b4b0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov ecx, eax
inc ecx
mov edi, edx
jmp 0x4ba881
mov dword [esp], 0x5bd1c0
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
call fcn.0043b4b0
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov ebx, eax
inc ebx
mov dword [esp + 0x50], ebx
mov edi, ecx
jmp 0x4ba5de
call fcn.0044fe90
jmp fcn.004ba590