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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x34]
cmp eax, dword [ecx + 8]
jbe 0x53513d
sub esp, 0xb4
mov eax, dword [esp + 0xbc]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov ebx, dword [eax + 8]
cmp edx, 5
jb 0x535136
add ebx, 0xfffffffb
mov dword [esp + 0x6c], ebx
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and ebx, 5
add ecx, ebx
mov dword [esp + 0x9c], ecx
mov ebx, dword [esp + 0xb8]
mov esi, dword [ebx + 0x20]
mov edi, dword [ebx + 0x1c]
test edi, edi
jne 0x53509e
xor esi, esi
mov dword [esp + 0x50], esi
add edx, 0xfffffffb
mov edi, dword [ebx + 0x14]
mov eax, dword [ebx + 0x18]
test edi, edi
je 0x535085
je 0x53511c
mov dword [esp + 0x5c], edx
mov dword [esp + 0x8c], edi
mov dword [esp + 0xb0], eax
lea ecx, [0x5e76e0]
mov dword [esp], ecx
mov dword [esp + 4], edi
mov dword [esp + 8], eax
call fcn.00407950
movzx eax, byte [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
test al, al
je 0x534bdb
mov eax, dword [ecx + 0x10]
mov ecx, dword [esp + 0x9c]
mov dword [esp + 4], ecx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 8], ebx
mov ebp, dword [esp + 0x6c]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebp
mov dword [esp], edx
call eax
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x9c]
xor ebx, ebx
mov ebp, 0xffffffff
xor esi, esi
xchg ebp, eax
mov byte [esp + 0x4f], al
xchg ebp, eax
mov dword [esp + 0x78], esi
mov edi, dword [esp + 0xb8]
mov ebp, dword [edi + 0x1c]
test ebp, ebp
je 0x534b74
mov ebp, dword [esp + 0x50]
cmp ecx, ebp
jl 0x534bb9
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x94], edx
sub ecx, ebp
sub ecx, ebx
mov ebx, ecx
shr ecx, 0x1f
mov esi, dword [esp + 0xbc]
mov edx, dword [esi]
mov edi, dword [esi + 4]
dec ecx
and ecx, ebx
cmp edi, 3
jbe 0x5350eb
mov ebx, ecx
sar ecx, 8
mov byte [edx + 3], cl
mov ecx, dword [esi + 4]
mov edx, dword [esi]
cmp ecx, 4
jbe 0x5350e4
mov byte [edx + 4], bl
lea ecx, [ebp + ebx]
cmp ebx, ecx
ja 0x5350dd
cmp ecx, eax
ja 0x5350dd
mov dword [esp + 0x64], eax
mov edx, dword [esp + 0xb8]
lea edi, [edx + 0x24]
test byte [edi], al
sub eax, ebx
mov dword [esp + 0x54], eax
neg eax
sar eax, 0x1f
and eax, ebx
mov ebp, dword [esp + 0x94]
add eax, ebp
mov dword [esp + 0x90], eax
mov eax, dword [esi]
mov esi, dword [esi + 8]
cmp esi, 5
jb 0x5350d6
mov dword [esp + 0x88], ebx
mov ebx, dword [esp + 0x5c]
cmp ecx, ebx
ja 0x5350d6
mov dword [esp + 0x84], ecx
mov ebx, dword [edx + 0x1c]
mov ecx, dword [edx + 0x20]
mov dword [esp + 0xb0], ecx
mov ebx, dword [ebx + 0x10]
mov dword [esp + 0x8c], ebx
mov ebx, dword [edx + 0x50]
mov ecx, dword [edx + 0x54]
mov edx, dword [edx + 0x58]
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], 8
mov dword [esp + 0x18], 8
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 5
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], ebp
mov eax, dword [esp + 0x88]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0x84]
sub ecx, edx
mov ebx, ecx
neg ecx
sar ecx, 0x1f
and ecx, edx
add ecx, ebp
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x5c]
sub ecx, edx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], ebx
mov ecx, dword [esp + 0xb0]
mov dword [esp], ecx
mov ecx, dword [esp + 0x8c]
call ecx
mov eax, dword [esp + 0x48]
mov dword [esp + 0x74], eax
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x70], ecx
mov edx, dword [esp + 0x40]
mov dword [esp + 0xa0], edx
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov ebx, dword [esp + 0x90]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x14], ebx
call fcn.004d5020
mov eax, dword [esp + 0x18]
cmp eax, 1
je 0x534b1f
mov byte [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov byte [esp + 0xc8], 0x14
add esp, 0xb4
ret
movzx ecx, byte [esp + 0x4f]
cmp cl, 0xff
jne 0x534afd
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0xb8]
mov dword [edx + 0x54], ecx
mov ecx, dword [esp + 0x74]
mov dword [edx + 0x58], ecx
mov ecx, dword [0x7db370]
mov ebx, dword [esp + 0x88]
mov ebp, dword [esp + 0x78]
lea ebx, [ebp + ebx + 5]
test ecx, ecx
jne 0x534ba8
mov eax, dword [esp + 0xa0]
mov dword [edx + 0x50], eax
mov eax, dword [esp + 0xbc]
mov dword [esp], eax
mov dword [esp + 4], ebx
call fcn.00535a40
mov eax, dword [esp + 0xb8]
mov dword [esp], eax
call fcn.005346a0
mov byte [esp + 0xc0], 1
mov eax, dword [esp + 0x78]
add eax, 5
mov dword [esp + 0xc4], eax
mov byte [esp + 0xc8], 0
add esp, 0xb4
ret
lea edi, [edx + 0x50]
mov eax, dword [esp + 0xa0]
call fcn.0044b680
jmp 0x534b61
mov byte [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov byte [esp + 0xc8], 0x14
add esp, 0xb4
ret
lea eax, [0x5fa640]
mov dword [esp], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0xb0]
mov dword [esp + 8], ecx
call fcn.00407950
movzx eax, byte [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
test al, al
je 0x534e56
mov dword [esp + 0x80], ecx
mov dword [esp + 0xa8], edx
mov eax, dword [ecx + 0x20]
mov dword [esp], edx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x5c]
cmp ecx, eax
jl 0x534e34
mov edx, dword [esp + 0x6c]
cmp eax, edx
ja 0x535115
cmp eax, ecx
ja 0x53510e
sub ecx, eax
sub edx, eax
mov ebp, edx
neg edx
sar edx, 0x1f
and edx, eax
mov esi, dword [esp + 0x9c]
add edx, esi
test eax, eax
jne 0x534e20
mov ebx, dword [esp + 0xb8]
lea esi, [ebx + 0x24]
test byte [esi], al
mov edi, 8
mov edi, 8
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x88], eax
lea eax, [ebx + 0x30]
mov dword [esp + 0xac], eax
test byte [eax], al
lea eax, [ebx + 0x24]
test byte [eax], al
mov eax, dword [ebx + 0x24]
mov edi, dword [ebx + 0x28]
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x34], edi
mov eax, dword [esp + 0xbc]
mov edi, dword [eax + 8]
mov eax, dword [eax]
cmp edi, 3
jb 0x535107
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x84], ebp
mov dword [esp + 0x94], edx
mov dword [esp + 0x9c], esi
lea edi, [ebx + 0x38]
cmp eax, edi
je 0x534cf1
movzx edi, word [eax]
movzx eax, byte [eax + 2]
mov word [ebx + 0x38], di
mov byte [ebx + 0x3a], al
mov eax, dword [esp + 0x80]
mov ecx, dword [eax + 0x18]
mov edx, dword [esp + 0xa8]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x5c]
mov edx, ecx
sub ecx, eax
mov eax, ecx
sar ecx, 8
mov ebx, dword [esp + 0xb8]
mov byte [ebx + 0x3b], cl
mov byte [ebx + 0x3c], al
mov eax, dword [esp + 0x80]
mov eax, dword [eax + 0x14]
mov ecx, dword [esp + 0x94]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
mov ebp, dword [esp + 0x84]
mov dword [esp + 0xc], ebp
mov esi, dword [esp + 0x9c]
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x68]
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x6c]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ebp
mov ecx, dword [esp + 0xac]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], 0xd
mov dword [esp + 0x30], 0xd
mov ecx, dword [esp + 0xa8]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x40]
test ebx, ebx
jne 0x534dfe
mov dword [esp + 0x64], eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x94], edx
mov eax, dword [esp + 0xbc]
mov dword [esp], eax
mov edx, dword [esp + 0x88]
lea ebx, [ecx + edx + 5]
mov dword [esp + 4], ebx
call fcn.00535a40
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x94]
xor ebx, ebx
mov ebp, 0xffffffff
mov esi, dword [esp + 0x88]
jmp 0x534938
mov byte [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov byte [esp + 0xc8], 0x14
add esp, 0xb4
ret
mov ebx, dword [esp + 0xb8]
mov edi, dword [esp + 0x6c]
mov dword [esp + 0x68], eax
jmp 0x534c86
mov byte [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov byte [esp + 0xc8], 0x14
add esp, 0xb4
ret
lea eax, [0x5ef600]
mov dword [esp], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 8], eax
call fcn.00407950
movzx eax, byte [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
test al, al
je 0x53511c
mov dword [esp + 0xa4], ecx
mov dword [esp + 0x7c], edx
mov eax, dword [edx + 0x10]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xb8]
movzx edx, word [ecx + 0x10]
cmp dx, 0x302
jb 0x53507c
mov edx, eax
test edx, edx
je 0x535100
mov ebx, eax
mov eax, dword [esp + 0x5c]
mov ebp, edx
cmp ebp, 0xffffffff
je 0x534ed8
cdq
idiv ebp
jmp 0x534eda
xor edx, edx
test edx, edx
je 0x534f00
mov byte [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov byte [esp + 0xc8], 0x14
add esp, 0xb4
ret
mov edx, dword [esp + 0x50]
lea esi, [ebx + edx]
lea eax, [ebx + edx + 1]
cmp ebp, 0xffffffff
je 0x534f15
cdq
idiv ebp
jmp 0x534f17
xor edx, edx
mov eax, ebp
sub eax, edx
cmp ebp, 0xffffffff
je 0x534f25
cdq
idiv ebp
jmp 0x534f27
xor edx, edx
lea edx, [edx + esi + 1]
mov ebp, dword [esp + 0x5c]
cmp ebp, edx
jl 0x534ede
mov dword [esp + 0x88], ebx
test ebx, ebx
jle 0x53506a
mov eax, dword [esp + 0x6c]
cmp ebx, eax
ja 0x5350f9
mov ecx, dword [esp + 0x7c]
mov edx, dword [ecx + 0x18]
mov ebp, dword [esp + 0x9c]
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov esi, dword [esp + 0xa4]
mov dword [esp], esi
call edx
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x5c]
cmp eax, ecx
ja 0x5350f2
sub ecx, eax
mov edx, dword [esp + 0x6c]
sub edx, eax
mov ebx, edx
neg edx
sar edx, 0x1f
and edx, eax
mov ebp, dword [esp + 0x9c]
add edx, ebp
mov dword [esp + 0x98], edx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x60], ebx
mov eax, dword [esp + 0x7c]
mov eax, dword [eax + 0x14]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ebx
mov ebp, dword [esp + 0xa4]
mov dword [esp], ebp
call eax
mov eax, dword [esp + 0xb8]
movzx ecx, word [eax + 0x10]
cmp cx, 0x300
jne 0x535035
mov ecx, dword [esp + 0x58]
cmp ecx, 1
jge 0x535015
xor edx, edx
xor ebx, ebx
mov eax, dword [esp + 0x60]
mov ebp, ebx
mov esi, dword [esp + 0x88]
mov ebx, edx
mov edx, dword [esp + 0x98]
jmp 0x534938
mov edx, dword [esp + 0x98]
movzx ebx, byte [ecx + edx - 1]
inc ebx
cmp ebx, ecx
jle 0x53502c
xor edx, edx
xor ebx, ebx
jmp 0x534ffa
mov edx, ebx
mov ebx, 0xffffffff
jmp 0x534ffa
mov eax, dword [esp + 0x98]
mov dword [esp], eax
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x60]
mov dword [esp + 8], edx
call fcn.00534710
mov edx, dword [esp + 0xc]
movzx ebx, byte [esp + 0x10]
mov eax, dword [esp + 0xb8]
mov ecx, dword [esp + 0x58]
jmp 0x534ffa
mov edx, dword [esp + 0x9c]
mov ecx, ebp
mov ebx, dword [esp + 0x6c]
jmp 0x534fa1
mov edx, eax
xor eax, eax
jmp 0x534ebe
mov eax, ebp
mov ecx, edx
mov edx, dword [esp + 0x9c]
xor ebx, ebx
mov ebp, 0xffffffff
xor esi, esi
jmp 0x534938
mov dword [esp + 0x84], edx
mov eax, dword [edi + 0x14]
mov dword [esp], esi
call eax
mov esi, dword [esp + 4]
mov eax, dword [esp + 0xbc]
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0x84]
mov ebx, dword [esp + 0xb8]
mov ebp, dword [esp + 0x6c]
jmp 0x534899
call fcn.004259a0
ud2
call fcn.004259a0
ud2
call fcn.004258a0
ud2
call fcn.004258a0
ud2
call fcn.004259a0
ud2
call fcn.004259a0
ud2
call fcn.00425aa0
ud2
call fcn.004259a0
ud2
call fcn.004259a0
ud2
call fcn.004259a0
ud2
lea eax, [0x5dfce0]
mov dword [esp], eax
lea eax, [0x65e3e0]
mov dword [esp + 4], eax
call fcn.00426780
ud2
call fcn.004259a0
ud2
call fcn.00449f20
jmp fcn.00534830