Function at 0x53ac10
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 0x53ad06
mov ecx, dword [edx + 0x98]
test ecx, ecx
jne 0x53accc
xor eax, eax
imul eax, eax, 0x224
add eax, dword [edx + 0xa8]
mov dword [esp + 0x1c], eax
jmp 0x53ad0e
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 0x53ad0e
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x6c]
cmp esi, ebx
lea ebx, [edx + 0x18]
jae 0x53b5cb
nop dword [eax]
cmp edi, dword [esp + 0x30]
jl 0x53ad65
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 0x53ad5e
lea eax, [edx + 0x88]
push eax
lea eax, [edx + 0x7c]
push eax
call fcn.00546e40
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 0x53adb5
mov ecx, dword [edx + 0x98]
test ecx, ecx
jne 0x53ad7d
xor eax, eax
jmp 0x53ada5
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 0x53adc9
mov eax, dword [edx + 0x18]
mov dword [esi], eax
jmp 0x53af01
mov esi, dword [ebx + 0x14]
mov dword [esp + 0x64], esi
cmp esi, 0x20
jl 0x53ade5
push ebx
call fcn.005402b0
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.005338d0
mov edx, dword [esp + 0x1c]
cmp dword [edx + 0x20], 0
je 0x53ae5c
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 0x53ae24
add eax, ecx
mov ecx, dword [esp + 0x10]
mov dword [ebx + 0x14], eax
mov dword [ecx], esi
xor esi, esi
jmp 0x53ae32
add eax, 0xffffff00
add eax, ecx
mov ecx, dword [esp + 0x10]
mov dword [ebx + 0x14], eax
cmp dword [ebx + 0x18], 0
jne 0x53b5bf
mov eax, dword [ebx + 0x10]
cmp eax, dword [ebx + 0xc]
jne 0x53ae4e
cmp dword [ebx + 0x14], 0x40
jg 0x53b5bf
test esi, esi
je 0x53aefd
mov edx, dword [esp + 0x58]
jmp 0x53aec9
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 0x53aeab
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.005338d0
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 0x53b5c3
mov ecx, dword [esp + 0x10]
mov eax, dword [ebx + 0x10]
cmp eax, dword [ebx + 0xc]
jne 0x53aedb
cmp dword [ebx + 0x14], 0x40
jg 0x53b5c3
cmp esi, 0x100
jge 0x53b1c9
mov edx, dword [esp + 0x1c]
cmp dword [edx + 0x14], 0
je 0x53afbe
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 0x53afab
mov edx, dword [esp + 0x6c]
inc edi
mov dword [esp + 0x14], 0
mov dword [esp + 0x20], edi
test edx, edx
je 0x53af5a
cmp edi, dword [esp + 0x68]
jg 0x53af5a
mov eax, edi
and eax, 0x8000000f
jns 0x53af4a
dec eax
or eax, 0xfffffff0
add eax, 1
jne 0x53af5a
push edi
push dword [esp + 0x5c]
call edx
mov ecx, dword [esp + 0x20]
add esp, 8
test ecx, ecx
je 0x53afab
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 0x53afab
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 0x53af80
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 0x53ad20
jmp 0x53b5c7
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.005338d0
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 0x53b036
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.005338d0
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 0x53b039
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 0x53b074
push ebx
call fcn.005402b0
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 0x53b0f1
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 0x53b0f5
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 0x53b184
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 0x53b5bf
mov eax, dword [ebx + 0x10]
cmp eax, dword [ebx + 0xc]
jne 0x53b1ab
cmp edx, 0x40
jg 0x53b5bf
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 0x53af01
cmp esi, 0x118
jge 0x53b537
lea edx, [esi - 0x100]
mov dword [esp + 0x64], edx
cmp edx, 4
jl 0x53b203
lea esi, [edx - 2]
sar esi, 1
push esi
push ebx
call fcn.005403b0
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.005338d0
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 0x53b276
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.005338d0
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 0x53b279
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 0x53b29b
push ebx
call fcn.005402b0
mov edx, dword [esp + 0x30]
add esp, 4
cmp edx, 4
jb 0x53b2bf
lea esi, [edx - 2]
sar esi, 1
push esi
push ebx
call fcn.005403b0
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 0x53b2ca
lea esi, [edx - 0x78]
jmp 0x53b2ed
movzx eax, byte [edx + 0x591eb7]
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 0x53b5bf
mov eax, dword [ebx + 0x10]
cmp eax, dword [ebx + 0xc]
jne 0x53b309
cmp dword [ebx + 0x14], 0x40
jg 0x53b5bf
mov ecx, dword [esp + 0x10]
mov eax, ecx
sub eax, dword [esp + 0x5c]
sar eax, 2
cmp eax, esi
jl 0x53b675
mov eax, dword [esp + 0x3c]
sub eax, ecx
sar eax, 2
cmp eax, dword [esp + 0x64]
jl 0x53b675
lea eax, [esi*4]
mov edx, ecx
sub edx, eax
mov eax, dword [esp + 0x64]
cmp esi, 2
jg 0x53b470
cmp eax, 4
jl 0x53b470
test cl, 3
jne 0x53b470
mov eax, dword [edx]
mov dword [esp + 0x24], eax
cmp esi, 1
jne 0x53b36c
xor esi, esi
or esi, eax
jmp 0x53b36f
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 0x53b3a5
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 0x53b3a9
mov ecx, dword [esp + 0x64]
sar ecx, 1
mov dword [esp + 0x24], 0
test ecx, ecx
jle 0x53b3d9
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 0x53b3ee
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 0x53b456
mov esi, dword [esp + 0x58]
sub ecx, edx
inc edi
cmp dword [esp + 0x6c], 0
mov dword [esp + 0x14], ecx
je 0x53b44a
cmp edi, dword [esp + 0x68]
jg 0x53b44a
mov eax, edi
and eax, 0x8000000f
jns 0x53b437
dec eax
or eax, 0xfffffff0
add eax, 1
jne 0x53b44a
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 0x53b413
mov esi, dword [esp + 0x10]
mov dword [esp + 0x20], edi
test dword [esp + 0x38], ecx
je 0x53b4e6
mov eax, dword [esp + 0x58]
mov ecx, dword [eax + 0x98]
test ecx, ecx
jne 0x53b4b2
jmp 0x53b4d6
cmp esi, eax
jl 0x53b487
shl eax, 2
push eax
push edx
push ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
jmp 0x53b3ee
test eax, eax
jle 0x53b3f2
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 0x53b497
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x64]
jmp 0x53b3f6
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 0x53afab
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 0x53afab
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 0x53b513
jmp 0x53af9f
cmp esi, dword [esp + 0x44]
jge 0x53b679
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 0x53b5ab
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 0x53b570
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 0x53af05
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 0x53af05
mov edx, dword [esp + 0x58]
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x6c]
cmp dword [ebx + 0x18], 0
jne 0x53b5e3
mov eax, dword [ebx + 0x10]
cmp eax, dword [ebx + 0xc]
jne 0x53b5df
cmp dword [ebx + 0x14], 0x40
jg 0x53b5e3
xor eax, eax
jmp 0x53b5e8
mov eax, 1
mov dword [ebx + 0x18], eax
cmp dword [edx + 0x38], 0
je 0x53b63c
test eax, eax
je 0x53b640
cmp esi, dword [esp + 0x3c]
jae 0x53b63c
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 0x53b668
lea eax, [edx + 0x7c]
push eax
lea eax, [edx + 0x88]
push eax
call fcn.00546e40
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
test eax, eax
jne 0x53b679
test ecx, ecx
je 0x53b658
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 0x53b684
cmp eax, 5
jne 0x53b68a
mov dword [edx], 3
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret