Function at 0x53c690
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 0x53c786
mov ecx, dword [edx + 0x98]
test ecx, ecx
jne 0x53c74c
xor eax, eax
imul eax, eax, 0x224
add eax, dword [edx + 0xa8]
mov dword [esp + 0x1c], eax
jmp 0x53c78e
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 0x53c78e
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x6c]
cmp esi, ebx
lea ebx, [edx + 0x18]
jae 0x53d04b
nop dword [eax]
cmp edi, dword [esp + 0x30]
jl 0x53c7e5
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 0x53c7de
lea eax, [edx + 0x88]
push eax
lea eax, [edx + 0x7c]
push eax
call fcn.005488c0
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 0x53c835
mov ecx, dword [edx + 0x98]
test ecx, ecx
jne 0x53c7fd
xor eax, eax
jmp 0x53c825
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 0x53c849
mov eax, dword [edx + 0x18]
mov dword [esi], eax
jmp 0x53c981
mov esi, dword [ebx + 0x14]
mov dword [esp + 0x64], esi
cmp esi, 0x20
jl 0x53c865
push ebx
call fcn.00541d30
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.00535350
mov edx, dword [esp + 0x1c]
cmp dword [edx + 0x20], 0
je 0x53c8dc
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 0x53c8a4
add eax, ecx
mov ecx, dword [esp + 0x10]
mov dword [ebx + 0x14], eax
mov dword [ecx], esi
xor esi, esi
jmp 0x53c8b2
add eax, 0xffffff00
add eax, ecx
mov ecx, dword [esp + 0x10]
mov dword [ebx + 0x14], eax
cmp dword [ebx + 0x18], 0
jne 0x53d03f
mov eax, dword [ebx + 0x10]
cmp eax, dword [ebx + 0xc]
jne 0x53c8ce
cmp dword [ebx + 0x14], 0x40
jg 0x53d03f
test esi, esi
je 0x53c97d
mov edx, dword [esp + 0x58]
jmp 0x53c949
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 0x53c92b
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.00535350
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 0x53d043
mov ecx, dword [esp + 0x10]
mov eax, dword [ebx + 0x10]
cmp eax, dword [ebx + 0xc]
jne 0x53c95b
cmp dword [ebx + 0x14], 0x40
jg 0x53d043
cmp esi, 0x100
jge 0x53cc49
mov edx, dword [esp + 0x1c]
cmp dword [edx + 0x14], 0
je 0x53ca3e
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 0x53ca2b
mov edx, dword [esp + 0x6c]
inc edi
mov dword [esp + 0x14], 0
mov dword [esp + 0x20], edi
test edx, edx
je 0x53c9da
cmp edi, dword [esp + 0x68]
jg 0x53c9da
mov eax, edi
and eax, 0x8000000f
jns 0x53c9ca
dec eax
or eax, 0xfffffff0
add eax, 1
jne 0x53c9da
push edi
push dword [esp + 0x5c]
call edx
mov ecx, dword [esp + 0x20]
add esp, 8
test ecx, ecx
je 0x53ca2b
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 0x53ca2b
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 0x53ca00
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 0x53c7a0
jmp 0x53d047
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.00535350
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 0x53cab6
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.00535350
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 0x53cab9
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 0x53caf4
push ebx
call fcn.00541d30
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 0x53cb71
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 0x53cb75
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 0x53cc04
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 0x53d03f
mov eax, dword [ebx + 0x10]
cmp eax, dword [ebx + 0xc]
jne 0x53cc2b
cmp edx, 0x40
jg 0x53d03f
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 0x53c981
cmp esi, 0x118
jge 0x53cfb7
lea edx, [esi - 0x100]
mov dword [esp + 0x64], edx
cmp edx, 4
jl 0x53cc83
lea esi, [edx - 2]
sar esi, 1
push esi
push ebx
call fcn.00541e30
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.00535350
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 0x53ccf6
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.00535350
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 0x53ccf9
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 0x53cd1b
push ebx
call fcn.00541d30
mov edx, dword [esp + 0x30]
add esp, 4
cmp edx, 4
jb 0x53cd3f
lea esi, [edx - 2]
sar esi, 1
push esi
push ebx
call fcn.00541e30
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 0x53cd4a
lea esi, [edx - 0x78]
jmp 0x53cd6d
movzx eax, byte [edx + 0x5941d7]
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 0x53d03f
mov eax, dword [ebx + 0x10]
cmp eax, dword [ebx + 0xc]
jne 0x53cd89
cmp dword [ebx + 0x14], 0x40
jg 0x53d03f
mov ecx, dword [esp + 0x10]
mov eax, ecx
sub eax, dword [esp + 0x5c]
sar eax, 2
cmp eax, esi
jl 0x53d0f5
mov eax, dword [esp + 0x3c]
sub eax, ecx
sar eax, 2
cmp eax, dword [esp + 0x64]
jl 0x53d0f5
lea eax, [esi*4]
mov edx, ecx
sub edx, eax
mov eax, dword [esp + 0x64]
cmp esi, 2
jg 0x53cef0
cmp eax, 4
jl 0x53cef0
test cl, 3
jne 0x53cef0
mov eax, dword [edx]
mov dword [esp + 0x24], eax
cmp esi, 1
jne 0x53cdec
xor esi, esi
or esi, eax
jmp 0x53cdef
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 0x53ce25
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 0x53ce29
mov ecx, dword [esp + 0x64]
sar ecx, 1
mov dword [esp + 0x24], 0
test ecx, ecx
jle 0x53ce59
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 0x53ce6e
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 0x53ced6
mov esi, dword [esp + 0x58]
sub ecx, edx
inc edi
cmp dword [esp + 0x6c], 0
mov dword [esp + 0x14], ecx
je 0x53ceca
cmp edi, dword [esp + 0x68]
jg 0x53ceca
mov eax, edi
and eax, 0x8000000f
jns 0x53ceb7
dec eax
or eax, 0xfffffff0
add eax, 1
jne 0x53ceca
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 0x53ce93
mov esi, dword [esp + 0x10]
mov dword [esp + 0x20], edi
test dword [esp + 0x38], ecx
je 0x53cf66
mov eax, dword [esp + 0x58]
mov ecx, dword [eax + 0x98]
test ecx, ecx
jne 0x53cf32
jmp 0x53cf56
cmp esi, eax
jl 0x53cf07
shl eax, 2
push eax
push edx
push ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
jmp 0x53ce6e
test eax, eax
jle 0x53ce72
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 0x53cf17
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x64]
jmp 0x53ce76
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 0x53ca2b
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 0x53ca2b
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 0x53cf93
jmp 0x53ca1f
cmp esi, dword [esp + 0x44]
jge 0x53d0f9
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 0x53d02b
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 0x53cff0
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 0x53c985
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 0x53c985
mov edx, dword [esp + 0x58]
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x6c]
cmp dword [ebx + 0x18], 0
jne 0x53d063
mov eax, dword [ebx + 0x10]
cmp eax, dword [ebx + 0xc]
jne 0x53d05f
cmp dword [ebx + 0x14], 0x40
jg 0x53d063
xor eax, eax
jmp 0x53d068
mov eax, 1
mov dword [ebx + 0x18], eax
cmp dword [edx + 0x38], 0
je 0x53d0bc
test eax, eax
je 0x53d0c0
cmp esi, dword [esp + 0x3c]
jae 0x53d0bc
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 0x53d0e8
lea eax, [edx + 0x7c]
push eax
lea eax, [edx + 0x88]
push eax
call fcn.005488c0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
test eax, eax
jne 0x53d0f9
test ecx, ecx
je 0x53d0d8
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 0x53d104
cmp eax, 5
jne 0x53d10a
mov dword [edx], 3
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret