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

Disassembly:
sub esp, 0x44
mov eax, dword [esp + 0x48]
push ebx
push ebp
push esi
mov ecx, dword [eax + 0x70]
mov eax, ecx
cdq
idiv dword [esp + 0x5c]
push edi
mov edi, eax
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
mov dword [esp + 0x20], edi
lea esi, [eax + ecx*4]
mov eax, dword [esp + 0x60]
imul eax, dword [esp + 0x64]
lea ebx, [edx + 0x18]
mov dword [esp + 0x28], ebx
mov ebp, esi
mov ebx, dword [esp + 0x5c]
mov ecx, ebx
mov dword [esp + 0x64], 0
mov dword [esp + 0x10], esi
lea eax, [ebx + eax*4]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x60]
imul eax, dword [esp + 0x68]
cmp dword [edx + 0x38], 0
lea ebx, [ecx + eax*4]
mov eax, dword [edx + 0x78]
mov dword [esp + 0x48], ebx
lea ecx, [eax + 0x118]
mov dword [esp + 0x44], ecx
mov ecx, 0x1000000
cmovne ecx, edi
test eax, eax
mov eax, dword [edx + 0x94]
mov dword [esp + 0x30], ecx
lea ecx, [edx + 0x7c]
cmovle ecx, dword [esp + 0x64]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x38], eax
cmp esi, ebx
jae 0x53c186
mov ecx, dword [edx + 0x98]
test ecx, ecx
jne 0x53c14c
xor eax, eax
imul eax, eax, 0x224
add eax, dword [edx + 0xa8]
mov dword [esp + 0x1c], eax
jmp 0x53c18e
mov eax, dword [esp + 0x58]
mov edx, edi
sar edx, cl
imul edx, dword [eax + 0x9c]
mov eax, dword [esp + 0x14]
sar eax, cl
add edx, eax
mov eax, dword [esp + 0x58]
mov eax, dword [eax + 0xa0]
mov eax, dword [eax + edx*4]
mov edx, dword [esp + 0x58]
imul eax, eax, 0x224
add eax, dword [edx + 0xa8]
mov dword [esp + 0x1c], eax
jmp 0x53c18e
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x6c]
cmp esi, ebx
lea ebx, [edx + 0x18]
jae 0x53ca4b
nop dword [eax]
cmp edi, dword [esp + 0x30]
jl 0x53c1e5
movups xmm0, xmmword [ebx]
mov eax, esi
sub eax, dword [esp + 0x5c]
movups xmmword [edx + 0x40], xmm0
sar eax, 2
cmp dword [edx + 0x78], 0
movups xmm0, xmmword [ebx + 0x10]
mov dword [edx + 0x60], eax
movups xmmword [edx + 0x50], xmm0
jle 0x53c1de
lea eax, [edx + 0x88]
push eax
lea eax, [edx + 0x7c]
push eax
call fcn.00548300
mov edx, dword [esp + 0x60]
add esp, 8
lea eax, [edi + 8]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x14]
test dword [esp + 0x38], eax
jne 0x53c235
mov ecx, dword [edx + 0x98]
test ecx, ecx
jne 0x53c1fd
xor eax, eax
jmp 0x53c225
mov eax, dword [esp + 0x58]
mov edx, edi
sar edx, cl
imul edx, dword [eax + 0x9c]
mov eax, dword [esp + 0x14]
sar eax, cl
add edx, eax
mov eax, dword [esp + 0x58]
mov eax, dword [eax + 0xa0]
mov eax, dword [eax + edx*4]
mov edx, dword [esp + 0x58]
imul eax, eax, 0x224
add eax, dword [edx + 0xa8]
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x1c]
cmp dword [edx + 0x1c], 0
je 0x53c249
mov eax, dword [edx + 0x18]
mov dword [esi], eax
jmp 0x53c381
mov esi, dword [ebx + 0x14]
mov dword [esp + 0x64], esi
cmp esi, 0x20
jl 0x53c265
push ebx
call fcn.00541730
mov esi, dword [ebx + 0x14]
add esp, 4
mov dword [esp + 0x64], esi
mov eax, dword [ebx]
mov ecx, esi
mov edx, dword [ebx + 4]
and ecx, 0x3f
call fcn.00534d50
mov edx, dword [esp + 0x1c]
cmp dword [edx + 0x20], 0
je 0x53c2dc
and eax, 0x3f
mov ecx, dword [edx + eax*8 + 0x24]
mov esi, dword [edx + eax*8 + 0x28]
mov eax, dword [esp + 0x64]
cmp ecx, 0x100
jge 0x53c2a4
add eax, ecx
mov ecx, dword [esp + 0x10]
mov dword [ebx + 0x14], eax
mov dword [ecx], esi
xor esi, esi
jmp 0x53c2b2
add eax, 0xffffff00
add eax, ecx
mov ecx, dword [esp + 0x10]
mov dword [ebx + 0x14], eax
cmp dword [ebx + 0x18], 0
jne 0x53ca3f
mov eax, dword [ebx + 0x10]
cmp eax, dword [ebx + 0xc]
jne 0x53c2ce
cmp dword [ebx + 0x14], 0x40
jg 0x53ca3f
test esi, esi
je 0x53c37d
mov edx, dword [esp + 0x58]
jmp 0x53c349
movzx ecx, al
mov eax, dword [edx]
lea edx, [eax + ecx*4]
mov cl, byte [edx]
movzx eax, cl
sub eax, 8
mov dword [esp + 0x34], edx
mov dword [esp + 0x64], eax
test eax, eax
jle 0x53c32b
mov eax, dword [ebx]
add esi, 8
mov edx, dword [ebx + 4]
mov ecx, esi
and ecx, 0x3f
mov dword [ebx + 0x14], esi
call fcn.00534d50
mov ecx, dword [esp + 0x64]
mov edx, 1
shl edx, cl
dec edx
and eax, edx
mov edx, dword [esp + 0x34]
movzx ecx, word [edx + 2]
add eax, ecx
mov cl, byte [edx + eax*4]
lea edx, [edx + eax*4]
movzx eax, cl
add eax, esi
mov dword [ebx + 0x14], eax
movzx esi, word [edx + 2]
mov edx, dword [esp + 0x58]
cmp dword [edx + 0x30], 0
jne 0x53ca43
mov ecx, dword [esp + 0x10]
mov eax, dword [ebx + 0x10]
cmp eax, dword [ebx + 0xc]
jne 0x53c35b
cmp dword [ebx + 0x14], 0x40
jg 0x53ca43
cmp esi, 0x100
jge 0x53c649
mov edx, dword [esp + 0x1c]
cmp dword [edx + 0x14], 0
je 0x53c43e
shl esi, 8
or esi, dword [edx + 0x18]
mov dword [ecx], esi
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
add esi, 4
inc eax
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x60]
jl 0x53c42b
mov edx, dword [esp + 0x6c]
inc edi
mov dword [esp + 0x14], 0
mov dword [esp + 0x20], edi
test edx, edx
je 0x53c3da
cmp edi, dword [esp + 0x68]
jg 0x53c3da
mov eax, edi
and eax, 0x8000000f
jns 0x53c3ca
dec eax
or eax, 0xfffffff0
add eax, 1
jne 0x53c3da
push edi
push dword [esp + 0x5c]
call edx
mov ecx, dword [esp + 0x20]
add esp, 8
test ecx, ecx
je 0x53c42b
mov eax, esi
xor edx, edx
sub eax, ebp
add eax, 3
shr eax, 2
cmp ebp, esi
cmova eax, edx
mov dword [esp + 0x64], eax
test eax, eax
je 0x53c42b
mov edi, eax
mov ebx, edx
nop dword [eax + eax]
mov esi, dword [ebp]
inc ebx
mov ecx, dword [ecx + 4]
add ebp, 4
imul edx, esi, 0x1e35a7bd
shr edx, cl
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov dword [eax + edx*4], esi
cmp ebx, edi
jb 0x53c400
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x28]
mov edx, dword [esp + 0x58]
cmp esi, dword [esp + 0x48]
jb 0x53c1a0
jmp 0x53ca47
mov eax, dword [ebx + 0x14]
mov ecx, eax
mov edx, dword [ebx + 4]
and ecx, 0x3f
mov dword [esp + 0x34], eax
mov eax, dword [ebx]
call fcn.00534d50
movzx ecx, al
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 4]
lea ecx, [eax + ecx*4]
mov al, byte [ecx]
movzx edx, al
sub edx, 8
mov dword [esp + 0x64], ecx
mov dword [esp + 0x2c], edx
test edx, edx
jle 0x53c4b6
mov ecx, dword [esp + 0x34]
mov eax, dword [ebx]
add ecx, 8
mov edx, dword [ebx + 4]
mov dword [ebx + 0x14], ecx
and ecx, 0x3f
call fcn.00534d50
mov ecx, dword [esp + 0x2c]
mov edx, 1
shl edx, cl
mov ecx, dword [esp + 0x64]
dec edx
and eax, edx
movzx ecx, word [ecx + 2]
add eax, ecx
mov ecx, dword [esp + 0x64]
lea ecx, [ecx + eax*4]
mov eax, dword [esp + 0x58]
mov edx, dword [eax + 0x2c]
mov al, byte [ecx]
jmp 0x53c4b9
mov edx, dword [ebx + 0x14]
movzx eax, al
add edx, eax
mov dword [ebx + 0x14], edx
movzx eax, word [ecx + 2]
mov dword [esp + 0x24], eax
mov eax, dword [ebx]
mov dword [esp + 0x4c], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x50], eax
cmp edx, 0x20
jl 0x53c4f4
push ebx
call fcn.00541730
mov eax, dword [ebx]
add esp, 4
mov edx, dword [ebx + 0x14]
mov dword [esp + 0x4c], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x50], eax
movq xmm1, qword [esp + 0x4c]
mov eax, edx
and eax, 0x3f
movd xmm0, eax
psrlq xmm1, xmm0
movd eax, xmm1
movzx ecx, al
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 8]
lea ecx, [eax + ecx*4]
mov al, byte [ecx]
mov byte [esp + 0x64], al
movzx eax, al
sub eax, 8
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x34], eax
test eax, eax
jle 0x53c571
movq xmm1, qword [esp + 0x4c]
lea eax, [edx + 8]
mov ecx, dword [esp + 0x34]
mov dword [ebx + 0x14], eax
and eax, 0x3f
movd xmm0, eax
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0x2c]
dec eax
psrlq xmm1, xmm0
movd edx, xmm1
and edx, eax
movzx eax, word [ecx + 2]
add edx, eax
mov eax, dword [esp + 0x58]
lea ecx, [ecx + edx*4]
mov edx, dword [eax + 0x2c]
mov al, byte [ecx]
jmp 0x53c575
mov al, byte [esp + 0x64]
movq xmm1, qword [esp + 0x4c]
movzx eax, al
add edx, eax
mov dword [ebx + 0x14], edx
movzx eax, word [ecx + 2]
mov dword [esp + 0x40], eax
mov eax, edx
and eax, 0x3f
movd xmm0, eax
psrlq xmm1, xmm0
movd eax, xmm1
movzx ecx, al
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0xc]
lea ecx, [eax + ecx*4]
mov al, byte [ecx]
movzx edi, al
sub edi, 8
mov dword [esp + 0x34], ecx
mov dword [esp + 0x64], edi
test edi, edi
mov edi, dword [esp + 0x20]
jle 0x53c604
movq xmm1, qword [esp + 0x4c]
add edx, 8
mov ecx, dword [esp + 0x64]
mov eax, edx
and eax, 0x3f
mov dword [ebx + 0x14], edx
mov dword [esp + 0x2c], edx
movd xmm0, eax
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0x34]
dec eax
psrlq xmm1, xmm0
movd edx, xmm1
and edx, eax
movzx eax, word [ecx + 2]
add edx, eax
mov al, byte [ecx + edx*4]
lea ecx, [ecx + edx*4]
mov edx, dword [esp + 0x2c]
movzx eax, al
add edx, eax
cmp dword [ebx + 0x18], 0
mov dword [ebx + 0x14], edx
movzx ecx, word [ecx + 2]
jne 0x53ca3f
mov eax, dword [ebx + 0x10]
cmp eax, dword [ebx + 0xc]
jne 0x53c62b
cmp edx, 0x40
jg 0x53ca3f
shl ecx, 8
or ecx, dword [esp + 0x24]
shl ecx, 8
or ecx, esi
mov esi, dword [esp + 0x10]
shl ecx, 8
or ecx, dword [esp + 0x40]
mov dword [esi], ecx
jmp 0x53c381
cmp esi, 0x118
jge 0x53c9b7
lea edx, [esi - 0x100]
mov dword [esp + 0x64], edx
cmp edx, 4
jl 0x53c683
lea esi, [edx - 2]
sar esi, 1
push esi
push ebx
call fcn.00541830
mov edx, dword [esp + 0x6c]
mov ecx, esi
and edx, 1
add esp, 8
add edx, 2
shl edx, cl
add edx, eax
lea eax, [edx + 1]
mov edx, dword [ebx + 4]
mov dword [esp + 0x64], eax
mov eax, dword [ebx + 0x14]
mov ecx, eax
mov dword [esp + 0x40], eax
and ecx, 0x3f
mov eax, dword [ebx]
call fcn.00534d50
movzx ecx, al
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x10]
lea esi, [eax + ecx*4]
mov al, byte [esi]
movzx ecx, al
sub ecx, 8
mov dword [esp + 0x34], ecx
test ecx, ecx
jle 0x53c6f6
mov ecx, dword [esp + 0x40]
mov eax, dword [ebx]
add ecx, 8
mov edx, dword [ebx + 4]
mov dword [ebx + 0x14], ecx
and ecx, 0x3f
call fcn.00534d50
mov ecx, dword [esp + 0x34]
mov edx, 1
shl edx, cl
movzx ecx, word [esi + 2]
dec edx
and eax, edx
add eax, ecx
lea esi, [esi + eax*4]
mov eax, dword [esp + 0x58]
mov ecx, dword [eax + 0x2c]
mov al, byte [esi]
jmp 0x53c6f9
mov ecx, dword [ebx + 0x14]
movzx eax, al
add eax, ecx
mov dword [ebx + 0x14], eax
movzx edx, word [esi + 2]
mov dword [esp + 0x2c], edx
cmp eax, 0x20
jl 0x53c71b
push ebx
call fcn.00541730
mov edx, dword [esp + 0x30]
add esp, 4
cmp edx, 4
jb 0x53c73f
lea esi, [edx - 2]
sar esi, 1
push esi
push ebx
call fcn.00541830
mov edx, dword [esp + 0x34]
mov ecx, esi
and edx, 1
add esp, 8
add edx, 2
shl edx, cl
add edx, eax
inc edx
cmp edx, 0x78
jle 0x53c74a
lea esi, [edx - 0x78]
jmp 0x53c76d
movzx eax, byte [edx + 0x593167]
mov esi, 1
mov ecx, eax
and eax, 0xf
shr ecx, 4
imul ecx, dword [esp + 0x60]
sub ecx, eax
add ecx, 8
cmp ecx, esi
cmovge esi, ecx
cmp dword [ebx + 0x18], 0
jne 0x53ca3f
mov eax, dword [ebx + 0x10]
cmp eax, dword [ebx + 0xc]
jne 0x53c789
cmp dword [ebx + 0x14], 0x40
jg 0x53ca3f
mov ecx, dword [esp + 0x10]
mov eax, ecx
sub eax, dword [esp + 0x5c]
sar eax, 2
cmp eax, esi
jl 0x53caf5
mov eax, dword [esp + 0x3c]
sub eax, ecx
sar eax, 2
cmp eax, dword [esp + 0x64]
jl 0x53caf5
lea eax, [esi*4]
mov edx, ecx
sub edx, eax
mov eax, dword [esp + 0x64]
cmp esi, 2
jg 0x53c8f0
cmp eax, 4
jl 0x53c8f0
test cl, 3
jne 0x53c8f0
mov eax, dword [edx]
mov dword [esp + 0x24], eax
cmp esi, 1
jne 0x53c7ec
xor esi, esi
or esi, eax
jmp 0x53c7ef
mov esi, dword [edx + 4]
mov edi, dword [esp + 0x64]
mov dword [esp + 0x34], edi
mov edi, dword [esp + 0x20]
mov dword [esp + 0x2c], ecx
test cl, 4
je 0x53c825
mov eax, dword [edx]
add edx, 4
mov dword [ecx], eax
lea eax, [ecx + 4]
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x2c], eax
mov eax, esi
xor esi, esi
or esi, dword [esp + 0x24]
dec ecx
mov dword [esp + 0x34], ecx
jmp 0x53c829
mov ecx, dword [esp + 0x64]
sar ecx, 1
mov dword [esp + 0x24], 0
test ecx, ecx
jle 0x53c859
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x24], ecx
lea ecx, [ecx*8 - 8]
shr ecx, 2
mov dword [edi + 4], esi
mov esi, edi
mov dword [edi], eax
add edi, 8
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x20]
test byte [esp + 0x34], 1
je 0x53c86e
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
mov eax, dword [edx + esi*8]
mov dword [ecx + esi*8], eax
mov eax, dword [esp + 0x64]
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
lea esi, [esi + eax*4]
mov edx, dword [esp + 0x60]
add ecx, eax
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], ecx
cmp ecx, edx
jl 0x53c8d6
mov esi, dword [esp + 0x58]
sub ecx, edx
inc edi
cmp dword [esp + 0x6c], 0
mov dword [esp + 0x14], ecx
je 0x53c8ca
cmp edi, dword [esp + 0x68]
jg 0x53c8ca
mov eax, edi
and eax, 0x8000000f
jns 0x53c8b7
dec eax
or eax, 0xfffffff0
add eax, 1
jne 0x53c8ca
push edi
push esi
call dword [esp + 0x74]
mov ecx, dword [esp + 0x1c]
add esp, 8
mov edx, dword [esp + 0x60]
cmp ecx, edx
jge 0x53c893
mov esi, dword [esp + 0x10]
mov dword [esp + 0x20], edi
test dword [esp + 0x38], ecx
je 0x53c966
mov eax, dword [esp + 0x58]
mov ecx, dword [eax + 0x98]
test ecx, ecx
jne 0x53c932
jmp 0x53c956
cmp esi, eax
jl 0x53c907
shl eax, 2
push eax
push edx
push ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
jmp 0x53c86e
test eax, eax
jle 0x53c872
mov esi, dword [esp + 0x10]
mov ebx, eax
sub edx, esi
mov eax, dword [edx + ecx]
lea ecx, [ecx + 4]
mov dword [ecx - 4], eax
sub ebx, 1
jne 0x53c917
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x64]
jmp 0x53c876
mov edx, edi
sar edx, cl
imul edx, dword [eax + 0x9c]
mov eax, dword [esp + 0x14]
sar eax, cl
add edx, eax
mov eax, dword [esp + 0x58]
mov eax, dword [eax + 0xa0]
mov ecx, dword [eax + edx*4]
mov eax, dword [esp + 0x58]
imul ecx, ecx, 0x224
add ecx, dword [eax + 0xa8]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x53c42b
mov eax, esi
xor edx, edx
sub eax, ebp
add eax, 3
shr eax, 2
cmp ebp, esi
cmova eax, edx
mov dword [esp + 0x64], eax
test eax, eax
je 0x53c42b
mov edi, eax
mov ebx, edx
mov esi, dword [ebp]
inc ebx
mov ecx, dword [ecx + 4]
add ebp, 4
imul edx, esi, 0x1e35a7bd
shr edx, cl
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov dword [eax + edx*4], esi
cmp ebx, edi
jb 0x53c993
jmp 0x53c41f
cmp esi, dword [esp + 0x44]
jge 0x53caf9
lea eax, [esi - 0x118]
xor ecx, ecx
mov esi, dword [esp + 0x10]
mov dword [esp + 0x34], eax
mov eax, esi
sub eax, ebp
add eax, 3
shr eax, 2
cmp ebp, esi
cmova eax, ecx
mov dword [esp + 0x64], eax
test eax, eax
je 0x53ca2b
mov edi, ecx
mov ebx, eax
mov ecx, dword [esp + 0x18]
mov esi, dword [ebp]
inc edi
mov ecx, dword [ecx + 4]
add ebp, 4
imul edx, esi, 0x1e35a7bd
shr edx, cl
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov dword [eax + edx*4], esi
cmp edi, ebx
jb 0x53c9f0
mov eax, dword [ecx]
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x20]
mov eax, dword [eax + edx*4]
mov dword [esi], eax
jmp 0x53c385
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x34]
mov eax, dword [ecx]
mov eax, dword [eax + edx*4]
mov dword [esi], eax
jmp 0x53c385
mov edx, dword [esp + 0x58]
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x6c]
cmp dword [ebx + 0x18], 0
jne 0x53ca63
mov eax, dword [ebx + 0x10]
cmp eax, dword [ebx + 0xc]
jne 0x53ca5f
cmp dword [ebx + 0x14], 0x40
jg 0x53ca63
xor eax, eax
jmp 0x53ca68
mov eax, 1
mov dword [ebx + 0x18], eax
cmp dword [edx + 0x38], 0
je 0x53cabc
test eax, eax
je 0x53cac0
cmp esi, dword [esp + 0x3c]
jae 0x53cabc
cmp dword [edx + 0x78], 0
movups xmm0, xmmword [edx + 0x40]
mov eax, dword [edx + 0x60]
mov dword [edx], 5
movups xmmword [ebx], xmm0
mov dword [edx + 0x70], eax
movups xmm0, xmmword [edx + 0x50]
movups xmmword [ebx + 0x10], xmm0
jle 0x53cae8
lea eax, [edx + 0x7c]
push eax
lea eax, [edx + 0x88]
push eax
call fcn.00548300
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
test eax, eax
jne 0x53caf9
test ecx, ecx
je 0x53cad8
cmp edi, dword [esp + 0x68]
cmovg edi, dword [esp + 0x68]
push edi
push edx
call ecx
mov edx, dword [esp + 0x60]
add esp, 8
sub esi, dword [esp + 0x5c]
sar esi, 2
mov dword [edx], 0
mov dword [edx + 0x70], esi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret
mov edx, dword [esp + 0x58]
mov eax, dword [edx]
test eax, eax
je 0x53cb04
cmp eax, 5
jne 0x53cb0a
mov dword [edx], 3
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret