Function at 0x59037420
Capabilities:
Move file
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x591504d2
push eax
mov dword fs:[0], esp
sub esp, 0x4f0
push ebx
push ebp
push esi
mov esi, dword [esp + 0x50c]
test esi, esi
push edi
je 0x59038132
mov edi, dword [esp + 0x514]
test edi, edi
je 0x59038132
mov eax, dword [esp + 0x520]
test eax, eax
je 0x59037470
mov dword [eax], 0
jmp 0x59037493
mov eax, dword [0x591ac718]
test eax, eax
je 0x59037493
push esi
push str.AnalyseMailQiye163EMailAttach___S_
push str.MailLog
push 0xffffffffffffffff
push 0x591ac6ac
call fcn.59083dc0
add esp, 0x14
mov eax, dword [esp + 0x518]
push eax
call fcn.59009ea0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x59038132
push 0x591892bc
push edi
push esi
mov dword [esp + 0x74], esi
mov dword [esp + 0x5c], edi
call fcn.5900f930
mov ebp, eax
add esp, 0xc
cmp ebp, 0xffffffff
je 0x59038132
mov edi, 0x591892bc
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [ebx + 8]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, 0x591892bc
add ecx, ebp
add ecx, esi
mov dword [esp + 0x20], ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov edi, dword [esp + 0x514]
lea eax, [esp + 0x10]
not ecx
dec ecx
sub edi, ebp
sub edi, ecx
mov ecx, dword [ebx + 0xc]
push ecx
push edx
push ebp
push esi
push eax
call fcn.5901c790
add esp, 0x14
push 0x5918a140
lea ecx, [esp + 0x14]
mov dword [esp + 0x50c], 0
call fcn.590a7420
test eax, eax
jl 0x59037564
lea ecx, [esp + 0x2c]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.590a8980
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x50c], 1
call fcn.590a63d0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x508], 0
call fcn.590a6240
mov eax, dword [0x591ac718]
test eax, eax
je 0x5903758b
mov edx, dword [esp + 0x10]
push edx
push str.AnalyseMailQiye163EMailAttach_wstrFlag__s_
push str.MailLog
push 0xffffffffffffffff
push 0x591ac6ac
call fcn.59083dc0
add esp, 0x14
push 0x59188924
push str.func
push ebp
lea eax, [esp + 0x28]
push esi
push eax
call fcn.5901c790
mov ecx, dword [esp + 0x30]
push str.upload_3Aprepare
push ecx
mov byte [esp + 0x524], 2
call fcn.59089858
add esp, 0x1c
test eax, eax
jne 0x5903768b
mov eax, dword [esp + 0x520]
test eax, eax
jne 0x590379f2
mov edx, dword [ebx + 0x4c]
mov eax, dword [ebx + 0x48]
mov ecx, dword [esp + 0x20]
push edx
push eax
push edi
lea edx, [esp + 0x34]
push ecx
push edx
call fcn.5901c620
add esp, 0x14
mov eax, dword [0x59162880]
mov byte [esp + 0x508], 3
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x28]
push 0xfde9
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x510], 4
call fcn.590aa6a0
mov edx, dword [ebx + 0x54]
mov eax, dword [ebx + 0x50]
mov ecx, dword [esp + 0x20]
push edx
push eax
push edi
lea edx, [esp + 0x24]
push ecx
push edx
call fcn.5901c790
add esp, 0x14
mov eax, dword [esp + 0x14]
mov byte [esp + 0x508], 5
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x59037656
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x590379fd
lea ecx, [esp + 0x18]
mov byte [esp + 0x508], 4
call fcn.590a6240
lea ecx, [esp + 0x14]
mov byte [esp + 0x508], 3
call fcn.590a6240
lea ecx, [esp + 0x28]
mov byte [esp + 0x508], 2
call fcn.590a0ec0
jmp 0x590376b4
mov edx, dword [esp + 0x1c]
push str.upload_3AdirectData
push edx
call fcn.59089858
add esp, 8
test eax, eax
jne 0x5903810d
mov eax, dword [esp + 0x520]
test eax, eax
jne 0x590379f2
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebx + 0x10]
push eax
push ecx
push ebp
lea edx, [esp + 0x44]
push esi
push edx
call fcn.5901c790
mov eax, dword [ebx + 0x44]
mov ecx, dword [ebx + 0x40]
push eax
push ecx
push ebp
lea edx, [esp + 0x64]
push esi
push edx
mov byte [esp + 0x530], 7
call fcn.5901c790
mov eax, dword [esp + 0x6c]
mov byte [esp + 0x530], 8
push eax
call fcn.590899e9
mov ecx, dword [ebx + 0x54]
mov edx, dword [ebx + 0x50]
push ecx
push edx
push ebp
lea eax, [esp + 0x78]
push esi
push eax
call fcn.5901c790
add esp, 0x40
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x508], 9
push ecx
call fcn.590899e9
mov ecx, dword [esp + 0x51c]
lea edx, [esp + 0x50]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x14]
push 1
push edx
push 0
push eax
lea edx, [esp + 0x44]
push ecx
push edx
call fcn.5900a4d0
push 0x59188854
push 0x5918a23c
push ebp
lea eax, [esp + 0x64]
push esi
push eax
mov byte [esp + 0x538], 0xa
call fcn.5901c620
add esp, 0x30
mov edi, 0x591892bc
or ecx, 0xffffffff
xor eax, eax
mov ebx, dword [esp + 0x514]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + 0x508], 0xb
add ebp, ecx
mov ecx, dword [esp + 0x3c]
add esi, ebp
sub ebx, ebp
mov eax, dword [ecx - 8]
test eax, eax
je 0x590377ec
push 0x591892bc
push ebx
push esi
call fcn.5900f930
mov ebp, eax
add esp, 0xc
cmp ebp, 0xffffffff
je 0x590377ec
mov edi, 0x591892bc
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x3c]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, 0x5918a238
add ebp, ecx
or ecx, 0xffffffff
add esi, ebp
mov edx, dword [edx - 8]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, 0x59188854
neg edx
lea eax, [ecx + ecx*2]
or ecx, 0xffffffff
sub edx, eax
xor eax, eax
sub edx, ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
sub edx, ecx
add ebx, edx
lea ecx, [esp + 0x84]
call fcn.590b3a40
mov ecx, dword [0x5916287c]
mov byte [esp + 0x508], 0xc
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x58]
mov byte [esp + 0x508], 0xd
call fcn.590abbc0
lea ecx, [esp + 0x6c]
mov byte [esp + 0x508], 0xe
call fcn.590abbc0
mov edx, dword [esp + 0x30]
mov byte [esp + 0x508], 0xf
mov eax, dword [edx - 8]
test eax, eax
je 0x590378fa
lea eax, [esp + 0x2c]
push 0x59188bd0
push eax
call fcn.59059db0
add esp, 8
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x50c], 0x10
call fcn.590a1040
lea ecx, [esp + 0x2c]
mov byte [esp + 0x508], 0xf
call fcn.590a0ec0
mov ecx, dword [esp + 0x34]
push 0x180
push 0x8101
push ecx
call fcn.5908928d
mov edi, eax
add esp, 0xc
cmp edi, 0xffffffff
je 0x590378fa
push ebx
push esi
push edi
call fcn.5908909d
push edi
call fcn.59088fbd
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x98]
add esp, 0x10
lea ecx, [esp + 0x84]
push edx
push eax
call fcn.590b3c80
mov ecx, dword [esp + 0x34]
push ecx
lea ecx, [esp + 0x24]
call fcn.590a5940
mov eax, dword [esp + 0x5c]
lea edx, [esp + 0x20]
push edx
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0x510], 0x11
call fcn.590ac1d0
lea ecx, [esp + 0x20]
mov byte [esp + 0x508], 0xf
call fcn.590a6240
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x59038071
mov eax, dword [0x591ac718]
test eax, eax
je 0x59037932
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x30]
push ecx
push edx
push str.AnalyseMailQiye163EMailAttach___s___d_
push str.MailLog
push 0xffffffffffffffff
push 0x591ac6ac
call fcn.59083dc0
add esp, 0x18
mov ecx, dword [esp + 0x70]
lea eax, [esp + 0x30]
push eax
push ecx
lea ecx, [esp + 0x74]
call fcn.590ac1d0
mov ebp, dword [esp + 0x51c]
test ebp, ebp
jne 0x59037b13
lea edx, [esp + 0x48]
push ebp
push edx
call fcn.59059db0
lea eax, [esp + 0x74]
mov edx, dword [esp + 0x40]
push 1
lea ecx, [esp + 0x64]
push eax
mov eax, dword [esp + 0x58]
push ecx
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push edx
push eax
mov byte [esp + 0x53c], 0x27
call fcn.5900c690
add esp, 0x34
test eax, eax
je 0x590379dc
mov edi, dword [esp + 0x50]
mov esi, dword [esp + 0x68]
mov ecx, dword [esp + 0x48]
push edi
push esi
push ecx
call fcn.5900c480
add esp, 0xc
test eax, eax
je 0x590379dc
push ebp
lea edx, [esp + 0x88]
push ebp
lea eax, [esp + 0x74]
push edx
mov edx, dword [esp + 0x44]
lea ecx, [esp + 0x64]
push eax
push ecx
mov eax, dword [esp + 0x5c]
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push edx
push 2
push 1
push eax
push edi
push esi
call fcn.5900e750
add esp, 0x44
lea ecx, [esp + 0x48]
mov byte [esp + 0x508], 0xf
call fcn.590a0ec0
jmp 0x59038071
mov dword [eax], 1
jmp 0x5903810d
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebx + 8]
push ecx
push edx
push ebp
lea eax, [esp + 0x30]
push esi
push eax
call fcn.5901c790
mov esi, dword [esp + 0x52c]
mov ecx, 0x106
xor eax, eax
lea edi, [esp + 0xfc]
mov byte [esp + 0x51c], 6
push 0x103
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0x108]
push ecx
push edx
mov dword [esp + 0x104], esi
call fcn.5908731d
mov eax, dword [esp + 0x44]
push eax
push esi
call fcn.59009fa0
mov ecx, dword [esp + 0x3c]
push 0x103
lea edx, [esp + 0x324]
push ecx
push edx
mov dword [esp + 0x11c], eax
call fcn.5908731d
mov eax, dword [esp + 0x4c]
push eax
call fcn.590899e9
lea ecx, [esp + 0x11c]
mov dword [esp + 0x124], eax
push ecx
call fcn.5900a080
mov eax, dword [0x591ac718]
add esp, 0x3c
test eax, eax
je 0x59037aca
mov edx, dword [esp + 0xec]
lea eax, [esp + 0x2f8]
push edx
push eax
push str.AnalyseMailQiye163EMailAttach_astrAttachName__s___d_
push str.MailLog
push 0xffffffffffffffff
push 0x591ac6ac
call fcn.59083dc0
add esp, 0x18
lea ecx, [esp + 0x24]
mov byte [esp + 0x508], 5
call fcn.590a6240
lea ecx, [esp + 0x18]
mov byte [esp + 0x508], 4
call fcn.590a6240
lea ecx, [esp + 0x14]
mov byte [esp + 0x508], 3
call fcn.590a6240
lea ecx, [esp + 0x28]
mov byte [esp + 0x508], 2
call fcn.590a0ec0
jmp 0x5903810d
mov eax, dword [esp + 0x5c]
xor ebx, ebx
test eax, eax
jle 0x59038071
mov eax, dword [0x59162880]
mov dword [esp + 0xb8], eax
mov byte [esp + 0x508], 0x12
mov dword [esp + 0xbc], eax
mov byte [esp + 0x508], 0x13
mov dword [esp + 0xc0], eax
mov ecx, dword [0x5916287c]
mov byte [esp + 0x508], 0x14
mov dword [esp + 0xc8], ecx
mov byte [esp + 0x508], 0x15
mov dword [esp + 0xe0], eax
mov edx, dword [esp + 0x518]
lea eax, [esp + 0x10]
mov byte [esp + 0x508], 0x17
push eax
lea ecx, [esp + 0xbc]
mov dword [esp + 0xa0], edx
call fcn.590a63d0
mov edx, dword [ebp + 4]
mov ecx, dword [ebp]
mov eax, dword [ebp + 8]
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa0], ecx
mov ecx, dword [ebp + 0xc]
lea edx, [esp + 0xb0]
mov dword [esp + 0xa8], eax
push edx
mov dword [esp + 0xb0], ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [esp + 0x58]
lea ecx, [eax + ebx*4]
push ecx
lea ecx, [esp + 0x24]
call fcn.590a5840
push 0x5c
lea ecx, [esp + 0x24]
mov byte [esp + 0x50c], 0x18
call fcn.590a73f0
inc eax
lea edx, [esp + 0x2c]
push eax
push edx
lea ecx, [esp + 0x28]
call fcn.590a8530
lea eax, [esp + 0x94]
mov byte [esp + 0x508], 0x19
push eax
call fcn.5900d7e0
add esp, 4
mov eax, dword [eax]
lea ecx, [esp + 0x7c]
push eax
mov byte [esp + 0x50c], 0x1a
call fcn.590a5940
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x18]
push ecx
push eax
push edx
mov byte [esp + 0x514], 0x1b
call fcn.590a67e0
lea ecx, [esp + 0x7c]
mov byte [esp + 0x508], 0x1e
call fcn.590a6240
lea ecx, [esp + 0x94]
mov byte [esp + 0x508], 0x1d
call fcn.590a0ec0
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x18]
mov eax, dword [eax + ebx*4]
push 3
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea edx, [esp + 0x18]
lea ecx, [esp + 0xc0]
push edx
call fcn.590a63d0
push 0x2e
lea ecx, [esp + 0x1c]
call fcn.590a73f0
push eax
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x20]
call fcn.590a8980
push 0x59189488
lea ecx, [esp + 0x58]
mov byte [esp + 0x50c], 0x1f
call fcn.590a6e90
mov ecx, dword [esp + 0x6c]
lea edx, [ecx + ebx*4]
lea ecx, [esp + 0xbc]
push edx
call fcn.590a63d0
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x54]
push edx
mov ecx, dword [eax + ebx*4]
mov dword [esp + 0xc8], ecx
lea ecx, [esp + 0x84]
call fcn.590a0760
push eax
lea ecx, [esp + 0xcc]
mov byte [esp + 0x50c], 0x20
call fcn.590a1040
lea ecx, [esp + 0x80]
mov byte [esp + 0x508], 0x1f
call fcn.590a0ec0
mov eax, dword [esp + 0xc8]
push 0x180
push 0x8101
push eax
call fcn.5908928d
mov ecx, dword [0x5916287c]
add esp, 0xc
mov edi, eax
mov dword [esp + 0x14], ecx
cmp edi, 0xffffffff
mov byte [esp + 0x508], 0x21
je 0x59037db9
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x68]
push edx
push eax
push edi
call fcn.5908909d
mov ecx, dword [esp + 0xc0]
mov edx, dword [esp + 0xbc]
mov eax, dword [ebp + 0xc]
add esp, 0xc
push ecx
mov ecx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 4]
push eax
mov eax, dword [ebp]
push ecx
push edx
push eax
lea ecx, [esp + 0x2c]
push str._r_n_r_nliTickBegin:_I64u__liTickEnd:_I64u__liTickRecord:_I64u
push ecx
call fcn.590a3d20
mov edx, dword [esp + 0x34]
add esp, 0x20
lea ecx, [esp + 0x14]
mov eax, dword [edx - 8]
push eax
push 0
call fcn.590a1b50
push eax
push edi
call fcn.5908909d
push edi
call fcn.59088fbd
add esp, 0x10
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x50]
mov eax, dword [eax - 8]
add eax, ecx
mov ecx, dword [0x591ad574]
mov esi, ecx
mov dword [esp + 0xcc], eax
cmp esi, ecx
mov dword [esp + 0x24], esi
jl 0x59037f92
lea edi, [esi + 1]
test edi, edi
jne 0x59037e38
mov edi, dword [0x591ad570]
test edi, edi
je 0x59037e27
mov edx, ecx
dec ecx
test edx, edx
je 0x59037e0f
lea esi, [ecx + 1]
push 0
mov ecx, edi
call fcn.590610c0
add edi, 0x48
dec esi
jne 0x59037dfc
mov esi, dword [esp + 0x24]
mov eax, dword [0x591ad570]
push eax
call fcn.5913d2f9
add esp, 4
mov dword [0x591ad570], 0
xor eax, eax
mov dword [0x591ad578], eax
mov dword [0x591ad574], eax
jmp 0x59037f92
mov eax, dword [0x591ad570]
test eax, eax
jne 0x59037e6d
lea ecx, [edi + edi*8]
shl ecx, 3
push ecx
call fcn.5913d2d0
push edi
push eax
mov dword [0x591ad570], eax
call fcn.59061660
add esp, 0xc
mov dword [0x591ad578], edi
mov dword [0x591ad574], edi
jmp 0x59037f92
cmp edi, dword [0x591ad578]
jg 0x59037ecc
cmp ecx, edi
jge 0x59037e98
lea edx, [ecx + ecx*8]
sub edi, ecx
push edi
lea eax, [eax + edx*8]
push eax
call fcn.59061660
lea eax, [esi + 1]
add esp, 8
mov dword [0x591ad574], eax
jmp 0x59037f92
jle 0x59037ebf
lea edx, [edi + edi*8]
sub ecx, edi
lea edi, [eax + edx*8]
mov eax, ecx
dec ecx
test eax, eax
je 0x59037ebf
lea esi, [ecx + 1]
push 0
mov ecx, edi
call fcn.590610c0
add edi, 0x48
dec esi
jne 0x59037eac
mov esi, dword [esp + 0x24]
lea eax, [esi + 1]
mov dword [0x591ad574], eax
jmp 0x59037f92
mov eax, dword [0x591ad57c]
test eax, eax
jne 0x59037ef8
mov eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x59037eec
mov eax, 4
jmp 0x59037ef8
cmp eax, 0x400
jle 0x59037ef8
mov eax, 0x400
mov ecx, dword [0x591ad578]
add eax, ecx
cmp edi, eax
jge 0x59037f0a
mov dword [esp + 0x28], eax
jmp 0x59037f10
mov dword [esp + 0x28], edi
mov eax, edi
lea edx, [eax + eax*8]
shl edx, 3
push edx
call fcn.5913d2d0
mov ecx, dword [0x591ad574]
mov esi, dword [0x591ad570]
mov edi, eax
mov dword [esp + 0x9c], eax
lea ecx, [ecx + ecx*8]
shl ecx, 3
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x28]
lea esi, [ecx + 1]
mov ecx, dword [0x591ad574]
mov edx, esi
sub edx, ecx
lea ecx, [ecx + ecx*8]
push edx
lea edx, [eax + ecx*8]
push edx
call fcn.59061660
mov eax, dword [0x591ad570]
push eax
call fcn.5913d2f9
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0x38]
mov dword [0x591ad574], esi
mov esi, dword [esp + 0x34]
add esp, 0x10
mov dword [0x591ad570], ecx
mov dword [0x591ad578], edx
mov edx, dword [0x591ad570]
lea ecx, [esi + esi*8]
lea eax, [esp + 0x9c]
push eax
lea ecx, [edx + ecx*8]
call fcn.59061030
lea ecx, [esp + 0x14]
mov byte [esp + 0x508], 0x1f
call fcn.590a0ec0
lea ecx, [esp + 0x54]
mov byte [esp + 0x508], 0x1d
call fcn.590a6240
lea ecx, [esp + 0x18]
mov byte [esp + 0x508], 0x19
call fcn.590a6240
lea ecx, [esp + 0x2c]
mov byte [esp + 0x508], 0x18
call fcn.590a6240
lea ecx, [esp + 0x20]
mov byte [esp + 0x508], 0x17
call fcn.590a6240
lea ecx, [esp + 0xe0]
mov byte [esp + 0x508], 0x25
call fcn.590a6240
lea ecx, [esp + 0xc8]
mov byte [esp + 0x508], 0x24
call fcn.590a0ec0
lea ecx, [esp + 0xc0]
mov byte [esp + 0x508], 0x23
call fcn.590a6240
lea ecx, [esp + 0xbc]
mov byte [esp + 0x508], 0x22
call fcn.590a6240
lea ecx, [esp + 0xb8]
mov byte [esp + 0x508], 0xf
call fcn.590a6240
mov eax, dword [esp + 0x5c]
inc ebx
cmp ebx, eax
jl 0x59037b21
lea ecx, [esp + 0x6c]
mov byte [esp + 0x508], 0xe
call fcn.590abbd0
lea ecx, [esp + 0x58]
mov byte [esp + 0x508], 0xd
call fcn.590abbd0
lea ecx, [esp + 0x34]
mov byte [esp + 0x508], 0xc
call fcn.590a0ec0
lea ecx, [esp + 0x84]
mov byte [esp + 0x508], 0xb
call fcn.590b3a50
lea ecx, [esp + 0x3c]
mov byte [esp + 0x508], 0xa
call fcn.590a0ec0
lea ecx, [esp + 0x30]
mov byte [esp + 0x508], 9
call fcn.590a6240
lea ecx, [esp + 0x40]
mov byte [esp + 0x508], 8
call fcn.590a6240
lea ecx, [esp + 0x44]
mov byte [esp + 0x508], 7
call fcn.590a6240
lea ecx, [esp + 0x38]
mov byte [esp + 0x508], 2
call fcn.590a6240
lea ecx, [esp + 0x1c]
mov byte [esp + 0x508], 0
call fcn.590a6240
lea ecx, [esp + 0x10]
mov dword [esp + 0x508], 0xffffffff
call fcn.590a6240
mov ecx, dword [esp + 0x500]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x4fc
ret