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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x538fd4
sub esp, 0x58
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
xor ebx, ebx
jmp 0x538c4c
sub edx, eax
mov ebp, dword [esp + 0x6c]
sub ebp, eax
mov esi, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and eax, ebp
mov ebp, dword [esp + 0x64]
add ebp, eax
mov eax, esi
mov ebx, ecx
mov ecx, edx
mov edx, ebp
mov dword [esp + 0x3c], ebx
test ecx, ecx
jle 0x538f05
mov dword [esp + 0x6c], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x64], edx
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
movzx ecx, byte [esp + 0x60]
mov byte [esp + 4], cl
call fcn.00538730
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x40]
cmp ecx, eax
jle 0x538efe
mov dword [esp + 0x44], eax
nop
mov edx, dword [esp + 0x5c]
mov ebx, dword [edx + 0x1a0]
mov ebp, dword [edx + 0x1a8]
cmp ebp, 5
jl 0x538eb8
mov dword [edx + 0x1a4], 5
mov dword [edx + 0x1a8], ebp
mov ebp, dword [0x8a6100]
lea edi, [edx + 0x1a0]
test ebp, ebp
jne 0x538ea8
mov dword [edx + 0x1a0], ebx
movzx ebp, byte [esp + 0x60]
xchg ebp, eax
mov byte [ebx], al
xchg ebp, eax
movzx ebx, word [edx + 0x20]
test bx, bx
jne 0x538e93
mov ebx, 0x301
mov esi, dword [edx + 0x1a0]
cmp dword [edx + 0x1a4], 1
jbe 0x538fcd
mov word [esp + 0x3a], bx
shr bx, 8
mov byte [esi + 1], bl
mov ebx, dword [edx + 0x1a0]
cmp dword [edx + 0x1a4], 2
jbe 0x538fc6
movzx esi, word [esp + 0x3a]
xchg esi, eax
mov byte [ebx + 2], al
xchg esi, eax
mov ebx, dword [edx + 0x1a0]
cmp dword [edx + 0x1a4], 3
jbe 0x538fbf
mov esi, eax
sar eax, 8
mov byte [ebx + 3], al
mov eax, dword [edx + 0x1a0]
cmp dword [edx + 0x1a4], 4
jbe 0x538fb8
xchg esi, ebx
mov byte [eax + 4], bl
xchg esi, ebx
test esi, esi
jl 0x538fb1
mov eax, dword [esp + 0x6c]
cmp esi, eax
ja 0x538fb1
mov dword [esp + 0x54], edi
mov ebx, dword [edx + 0x24]
nop
mov ebp, dword [ebx]
mov ebx, dword [ebx + 4]
test ebp, ebp
je 0x538e82
mov dword [esp + 0x48], ebx
lea ecx, [edx + 0x108]
mov edi, dword [edx + 0x1a8]
mov ebx, dword [edx + 0x1a0]
mov edx, dword [edx + 0x1a4]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], edi
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebp
mov edx, dword [esp + 0x48]
mov dword [esp + 0x20], edx
call fcn.00535f10
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x5c]
mov dword [esi + 0x1a4], ebx
mov dword [esi + 0x1a8], edx
mov edi, dword [0x8a6100]
test edi, edi
jne 0x538e6d
mov dword [esi + 0x1a0], ebp
test ecx, ecx
jne 0x538e59
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
call fcn.00538980
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x538e45
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x3c]
add ecx, eax
mov edx, dword [esp + 0x40]
cmp eax, edx
jbe 0x538c29
jmp 0x538faa
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
add esp, 0x58
ret
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
add esp, 0x58
ret
mov dword [esp + 0x50], eax
mov edi, dword [esp + 0x54]
mov eax, ebp
call fcn.0044d090
mov eax, dword [esp + 0x50]
jmp 0x538e06
mov ebp, dword [0x894868]
mov ebx, dword [0x89486c]
jmp 0x538d86
cmp bx, 0x304
jne 0x538cec
mov ebx, 0x303
jmp 0x538cec
mov ebp, eax
mov eax, ebx
call fcn.0044d090
mov eax, ebp
jmp 0x538cd1
mov dword [esp + 0x4c], ebx
lea eax, [0x640f20]
mov dword [esp], eax
mov dword [esp + 4], 5
mov dword [esp + 8], 5
call fcn.00438de0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x4c]
cmp eax, ecx
je 0x538ee6
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x5c]
mov ebp, 5
mov ebx, eax
mov eax, dword [esp + 0x44]
jmp 0x538ca7
mov eax, ecx
jmp 0x538c89
movzx eax, byte [esp + 0x60]
cmp al, 0x14
jne 0x538f1b
mov eax, dword [esp + 0x5c]
cmp word [eax + 0x20], 0x304
jne 0x538f33
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x58
ret
lea ecx, [eax + 0x108]
mov dword [esp], ecx
call fcn.00534eb0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x538f86
lea edx, [0x6e5fa0]
cmp edx, ecx
jne 0x538f8c
movzx eax, byte [eax]
mov ecx, dword [esp + 0x5c]
mov dword [esp], ecx
mov byte [esp + 4], al
call fcn.00538520
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
add esp, 0x58
ret
mov ebx, dword [esp + 0x3c]
jmp 0x538f1b
mov dword [esp], ecx
lea eax, [0x64dd00]
mov dword [esp + 4], eax
lea eax, [0x649900]
mov dword [esp + 8], eax
call fcn.004071b0
ud2
call fcn.00427250
ud2
call fcn.00427250
ud2
call fcn.00427150
ud2
call fcn.00427150
ud2
call fcn.00427150
ud2
call fcn.00427150
ud2
call fcn.0044b940
jmp fcn.00538c00