Function at 0x4961e0
Capabilities:
Enumerate pe sections
Get file size
Read file on windows
Resolve function by parsing pe exports
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x5451ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa8
push ebx
mov ebx, dword [esp + 0xc8]
push ebp
xor ebp, ebp
cmp word [ebx + 0xa], bp
push esi
push edi
mov dword [esp + 0x4c], ebp
jne 0x496d9d
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x79]
mov byte [esp + 0x78], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [esp + 0xd0]
lea eax, [esp + 0x60]
lea ecx, [esp + 0x58]
push eax
lea edx, [esp + 0x60]
push ecx
push edx
lea eax, [esp + 0x44]
xor edx, edx
push eax
mov dl, byte [edi + 0x17]
mov eax, dword [edi + 0x1c]
lea ecx, [esp + 0x88]
push 0x40
push ecx
mov ecx, dword [edi + 0x30]
push edx
push eax
push ecx
mov dword [esp + 0x80], ebp
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x84], ebp
call fcn.004aa510
mov esi, eax
add esp, 0x24
cmp esi, ebp
mov dword [esp + 0x18], esi
je 0x496db3
push esi
call fcn.004c2d10
mov ebp, eax
add esp, 4
test ebp, ebp
mov dword [esp + 0x20], ebp
je 0x496dc9
cmp esi, 9
mov eax, 1
je 0x4962c4
cmp esi, 0xc
je 0x4962c4
cmp esi, 0xe
je 0x4962c4
cmp esi, 0xf
je 0x4962c4
cmp esi, 0x10
je 0x4962c4
cmp esi, 0x11
jne 0x4962c6
xor eax, eax
mov word [ebx + 8], ax
mov eax, dword [esp + 0xc8]
lea edx, [esp + 0x48]
mov dword [esp + 0x48], 0
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, dword [ebp]
push 0x1000
mov ecx, ebp
mov esi, eax
call dword [edx + 8]
mov cx, word [ebx + 8]
xor edx, edx
test cx, cx
jne 0x496303
mov edx, eax
jmp 0x496317
cmp cx, 1
jne 0x49630e
lea edx, [eax + 4]
jmp 0x496317
cmp cx, 2
jne 0x496317
lea edx, [eax + 8]
mov eax, dword [esp + 0xe4]
mov dword [esp + 0x54], edx
mov dword [eax], 1
mov eax, dword [esp + 0x5c]
test eax, eax
mov eax, dword [esp + 0xcc]
je 0x49633b
or dword [eax + 0x24], 0x10
mov ecx, dword [esp + 0x58]
test ecx, ecx
je 0x496347
or dword [eax + 0x24], 0x20
cmp dword [esp + 0xc8], 0xffffffff
jne 0x496370
mov dword [0x5991d0], 1
mov dword [0x5991d4], 0x2a32
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x5991d8], eax
mov eax, dword [esp + 0x48]
xor ecx, ecx
xor edx, edx
xor ebp, ebp
mov dword [edi + 8], ecx
or edx, esi
mov dword [edi + 0xc], ecx
or eax, ebp
mov dword [ebx + 0x10], edx
mov dword [ebx + 0x14], eax
mov edx, dword [ebx + 0x10]
mov esi, eax
mov eax, edx
and eax, 0xfff
mov ebp, eax
or ebp, ecx
je 0x4963cc
test esi, esi
ja 0x4963a8
cmp edx, 0x1000
jbe 0x4963b0
mov ebp, eax
mov dword [esp + 0x70], ecx
jmp 0x4963b6
mov ebp, edx
mov dword [esp + 0x70], esi
mov eax, edx
mov ecx, esi
sub eax, ebp
mov ebp, dword [esp + 0x70]
sbb ecx, ebp
add eax, 0x1000
adc ecx, 0
jmp 0x4963d0
mov eax, edx
mov ecx, esi
mov dword [ebx + 0x18], eax
mov eax, dword [esp + 0x38]
mov dword [ebx + 0x1c], ecx
mov ecx, dword [esp + 0x18]
mov dword [ebx + 0x20], edx
mov dword [ebx + 0x24], esi
lea edx, [edi + 0x38]
mov dword [edi + 0x34], ecx
push edx
lea ecx, [esp + 0x7c]
push eax
push ecx
call fcn.004c01c0
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0xec]
add esp, 0xc
mov dword [edi + 0x4c], edx
xor edi, edi
call fcn.005201f0
test eax, eax
jbe 0x496417
mov edi, 1
mov ecx, dword [esp + 0xe8]
call fcn.005201f0
test eax, eax
jbe 0x496428
inc edi
mov ecx, dword [esp + 0xe0]
call fcn.005201f0
mov ecx, dword [esp + 0xe8]
mov esi, eax
call fcn.005201f0
add esi, eax
xor eax, eax
cmp eax, esi
lea ecx, [edi + edi*4]
sbb eax, eax
mov edx, dword [esp + 0xd0]
and eax, esi
xor edi, edi
push 0
lea eax, [eax + ecx*8 + 0xd8]
mov dword [esp + 0x70], eax
lea esi, [eax + 0xfff]
mov eax, dword [esp + 0xd8]
shr esi, 0xc
shl esi, 0xc
mov dword [edx + 0x24], esi
mov ebp, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov ebx, dword [0x57b744]
mov dword [esp + 0x54], esi
add esi, ebp
adc edi, eax
push ebx
push edi
push esi
mov dword [esp + 0x78], eax
call fcn.004323b0
test eax, eax
je 0x4964a6
sub ebx, eax
add esi, ebx
adc edi, 0
mov ebx, dword [esp + 0xc8]
push edi
push esi
push ebx
call fcn.004c0ec0
add esp, 0xc
test eax, eax
je 0x496ddf
mov ecx, dword [esp + 0xd4]
mov edx, dword [esp + 0x54]
xor eax, eax
xor edi, edi
mov ax, word [ecx + 8]
xor esi, esi
sub eax, edi
mov dword [ecx + 0x28], edi
mov dword [ecx + 0x2c], edx
mov dword [ecx + 0x30], edi
mov dword [ecx + 0x34], 0x1000
je 0x4964fd
dec eax
je 0x4964f6
dec eax
jne 0x4964ff
mov esi, 8
jmp 0x4964ff
mov esi, 4
jmp 0x4964ff
xor esi, esi
mov eax, dword [ecx + 0x10]
mov word [ecx + 6], si
mov esi, dword [ecx + 0x14]
mov dword [esp + 0x34], edi
or eax, esi
mov dword [esp + 0x24], edi
jne 0x49653a
mov ecx, dword [esp + 0xd0]
push edi
push edi
mov edx, dword [ecx + 0x24]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [esp + 0x34], 1
mov dword [esp + 0x24], edi
jmp 0x496898
mov eax, dword [0x57b744]
mov esi, eax
push eax
shr esi, 0xc
imul esi, edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x78], esi
call fcn.0052644a
push esi
mov dword [esp + 0x4c], eax
call fcn.0052644a
mov edx, dword [esp + 0x70]
mov dword [esp + 0x18], eax
add esp, 8
mov ecx, 0xc
mov eax, ebp
mov dword [esp + 0x14], edi
mov dword [esp + 0x2c], edi
call fcn.0051a770
and ebp, 0xfff
or ebp, edi
je 0x496589
inc eax
lea esi, [eax - 1]
cmp esi, edi
mov dword [esp + 0x28], esi
jl 0x496861
mov ebp, dword [esp + 0x44]
jmp 0x4965a6
mov ebp, dword [esp + 0x44]
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
xor eax, eax
mov edx, ecx
mov edi, ebp
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov dword [esp + 0x30], 0
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0x74]
mov edi, dword [esp + 0x10]
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
xor eax, eax
mov dword [esp + 0x40], eax
push eax
lea eax, [esp + 0x44]
shl esi, 0xc
push eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esp + 0xec]
push 0
test eax, eax
je 0x496618
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x34]
push 0
push ecx
push edx
push ebp
push ebx
call fcn.004bf5a0
add esp, 0x18
jmp 0x49662a
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x34]
push eax
push ecx
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
xor edi, edi
cmp eax, edi
je 0x49678b
cmp dword [esp + 0x30], edi
je 0x4967a4
lea edx, [esp + 0x2c]
lea eax, [esp + 0x14]
push edx
lea ecx, [esp + 0x68]
push eax
lea edx, [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0x1c]
push edx
push eax
mov eax, dword [esp + 0x34]
push 0x1000
push ebp
push ecx
mov ecx, dword [esp + 0xf4]
lea edx, [esp + 0x98]
mov dword [esp + 0x84], edi
push edx
mov dx, word [ecx + 8]
push eax
push edx
call fcn.004a7310
add esp, 0x2c
cmp eax, edi
jne 0x4967b1
mov edx, dword [esp + 0xd4]
mov ecx, dword [esp + 0x64]
xor eax, eax
mov ebp, ecx
mov ax, word [edx + 8]
sub eax, edi
je 0x4966e4
dec eax
je 0x4966ca
dec eax
jne 0x4966e6
mov eax, dword [esp + 0x10]
push ecx
mov edi, eax
add eax, 8
push eax
call fcn.004c01a0
mov dword [edi + 4], eax
add esp, 8
lea edi, [ebp + 8]
jmp 0x4966e6
mov eax, dword [esp + 0x10]
push ecx
mov edi, eax
add eax, 4
push eax
call fcn.004c01a0
mov dword [edi], eax
add esp, 8
lea edi, [ebp + 4]
jmp 0x4966e6
mov edi, ecx
mov eax, dword [esp + 0x50]
lea ecx, [esp + 0x40]
add esi, eax
xor eax, eax
push eax
push ecx
push esi
push ebx
mov dword [esp + 0x50], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esp + 0xec]
mov dword [esp + 0x3c], 0
test eax, eax
push 0
je 0x49672b
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x40]
push edx
push edi
push eax
push ebx
call fcn.004bf6a0
add esp, 0x14
jmp 0x49673d
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x40]
push ecx
push edi
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x496822
cmp dword [esp + 0x3c], edi
jb 0x496838
mov eax, dword [esp + 0xd4]
mov ecx, dword [eax + 0x28]
test ecx, ecx
jne 0x496760
mov dword [eax + 0x2c], edi
inc ecx
mov dword [eax + 0x28], ecx
mov ecx, dword [esp + 0x28]
test ecx, ecx
jne 0x496777
mov dword [eax + 0x30], edi
mov dword [esp + 0x34], 1
mov eax, dword [esp + 0x28]
dec eax
mov dword [esp + 0x28], eax
jns 0x49659e
jmp 0x49685f
mov dword [0x5991d0], 0xd
mov dword [0x5991d4], 0x34f
jmp 0x49684c
mov dword [esp + 0x34], 1
jmp 0x49685f
jge 0x49680c
push 0x589b18
lea ecx, [esp + 0x20]
call fcn.0043b7e0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x18]
push 0x363
push eax
push ecx
push edx
lea eax, [esp + 0x2c]
push str.Error:_Encrypt_Data_Failed__File__Algrithm_d__DataLen_lu_KeyLen_lu__LINE_d
push eax
mov dword [esp + 0xd8], edi
call fcn.0043ef00
mov ecx, dword [esp + 0x34]
push ecx
call fcn.004c3bb0
add esp, 0x1c
lea ecx, [esp + 0x1c]
mov dword [esp + 0xc0], 0xffffffff
call fcn.0043bf80
mov dword [0x5991d0], 0x11
mov dword [0x5991d4], 0x367
jmp 0x49684c
mov dword [0x5991d0], 0xe
mov dword [0x5991d4], 0x382
jmp 0x49684c
mov dword [0x5991d0], 0xe
mov dword [0x5991d4], 0x38a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x5991d8], eax
mov dword [esp + 0x24], 1
xor edi, edi
mov eax, dword [esp + 0x44]
cmp eax, edi
je 0x496872
push eax
call fcn.00526473
add esp, 4
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x496887
push eax
call fcn.00526473
add esp, 4
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x496898
push eax
call fcn.00526473
add esp, 4
push edi
push edi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ebp, dword [esp + 0xcc]
mov eax, dword [esp + 0xec]
mov ecx, dword [ebp + 0x24]
or ecx, 1
cmp eax, edi
mov dword [ebp + 0x24], ecx
mov ecx, dword [esp + 0xe8]
je 0x496a86
call fcn.005201f0
mov esi, eax
mov dword [0x5991d0], edi
neg esi
sbb esi, esi
inc esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [esp + 0x14]
push 1
push edx
push edi
push ebx
mov dword [0x5991d8], eax
mov dword [esp + 0x24], edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push edi
push edi
push edi
push ebx
mov dword [esp + 0x3c], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, dword [0x57b748]
mov eax, ebp
cmp esi, edi
mov dword [esp + 0x18], edi
mov dword [eax], ecx
mov edx, dword [0x57b74c]
mov dword [eax + 4], edx
mov ecx, dword [0x57b750]
mov dword [eax + 8], ecx
mov edx, dword [0x57b754]
mov word [ebp + 0x30], 0x40
mov dword [eax + 0xc], edx
je 0x496942
mov dword [ebp + 0x20], 0x40001
jmp 0x496949
mov dword [ebp + 0x20], 0x40002
push 0x40
push ebp
mov word [ebp + 0x3e], 0x50
mov dword [ebp + 0x34], 0
call fcn.004c01a0
add esp, 8
mov dword [esp + 0x20], eax
mov dword [ebp + 0x34], eax
mov ecx, 4
mov edi, 0x57b748
mov esi, ebp
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
jne 0x496a32
cmp word [ebp + 0x30], 0x40
jne 0x496a32
mov eax, dword [ebp + 0x20]
cmp eax, 0x40001
je 0x49699e
cmp eax, 0x40002
jne 0x496a32
cmp word [ebp + 0x3e], 0x50
jne 0x496a32
mov esi, dword [esp + 0x20]
xor edi, edi
push esi
push 0x40
push ebp
mov dword [ebp + 0x34], edi
call fcn.004c0150
add esp, 0xc
cmp eax, edi
mov dword [ebp + 0x34], esi
je 0x496a32
cmp ebx, 0xffffffff
je 0x496a09
cmp ebp, edi
je 0x496a09
lea ecx, [esp + 0x20]
push edi
push ecx
push 0x40
push ebp
push ebx
mov dword [esp + 0x34], edi
call fcn.004bf6a0
add esp, 0x14
test eax, eax
jne 0x496a2a
mov dword [0x5991d0], 0xe
mov dword [0x5991d4], 0x11d2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x5991d8], eax
jmp 0x496a32
mov dword [0x5991d0], 1
mov dword [0x5991d4], 0x11ca
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x5991d8], eax
jmp 0x496a32
mov dword [esp + 0x18], 1
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x14]
push 0
push edx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x496c21
mov esi, 0x10
mov dword [0x5991d4], 0x17c3
mov dword [0x5991d0], esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x5991d8], eax
mov dword [0x5991d0], esi
mov dword [0x5991d4], 0x3c1
jmp 0x496e09
call fcn.005201f0
mov esi, eax
mov dword [0x5991d0], edi
neg esi
sbb esi, esi
inc esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x18]
push 1
push ecx
push edi
push ebx
mov dword [0x5991d8], eax
mov dword [esp + 0x28], edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push edi
push edi
push edi
push ebx
mov dword [esp + 0x3c], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [0x57b748]
mov edx, ebp
cmp esi, edi
mov dword [esp + 0x14], edi
mov dword [edx], eax
mov ecx, dword [0x57b74c]
mov dword [edx + 4], ecx
mov eax, dword [0x57b750]
mov dword [edx + 8], eax
mov ecx, dword [0x57b754]
mov word [ebp + 0x30], 0x40
mov dword [edx + 0xc], ecx
je 0x496afe
mov dword [ebp + 0x20], 0x40001
jmp 0x496b05
mov dword [ebp + 0x20], 0x40002
push 0x40
push ebp
mov word [ebp + 0x3e], 0x50
mov dword [ebp + 0x34], 0
call fcn.004c01a0
add esp, 8
mov ecx, 4
mov edi, 0x57b748
mov esi, ebp
xor edx, edx
mov dword [ebp + 0x34], eax
repe cmpsd dword [esi], dword es:[edi]
mov dword [esp + 0x20], eax
jne 0x496bec
cmp word [ebp + 0x30], 0x40
jne 0x496bec
mov eax, dword [ebp + 0x20]
cmp eax, 0x40001
je 0x496b5a
cmp eax, 0x40002
jne 0x496bec
cmp word [ebp + 0x3e], 0x50
jne 0x496bec
mov esi, dword [esp + 0x20]
xor edi, edi
push esi
push 0x40
push ebp
mov dword [ebp + 0x34], edi
call fcn.004c0150
add esp, 0xc
cmp eax, edi
mov dword [ebp + 0x34], esi
je 0x496bec
cmp ebx, 0xffffffff
je 0x496bc3
cmp ebp, edi
je 0x496bc3
lea eax, [esp + 0x28]
push edi
push eax
push 0x40
push ebp
push ebx
mov dword [esp + 0x3c], edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x496be4
mov dword [0x5991d0], 0xe
mov dword [0x5991d4], 0x2260
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x5991d8], eax
jmp 0x496bec
mov dword [0x5991d0], 1
mov dword [0x5991d4], 0x2259
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x5991d8], eax
jmp 0x496bec
mov dword [esp + 0x14], 1
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x18]
push 0
push ecx
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x496c21
mov esi, 0x10
mov dword [0x5991d4], 0x3306
mov dword [0x5991d0], esi
jmp 0x496a66
mov eax, dword [esp + 0x34]
test eax, eax
je 0x496e14
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x496e14
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0xc8]
push eax
push ecx
push edx
mov dword [esp + 0x58], 1
call fcn.004b1010
mov edi, dword [esp + 0xec]
add esp, 0xc
mov ecx, edi
xor esi, esi
call fcn.005201f0
test eax, eax
je 0x496c78
mov ecx, edi
call fcn.005208f0
mov esi, eax
mov ebx, dword [esp + 0xcc]
test esi, esi
mov edi, dword [ebx + 0x24]
jne 0x496c8b
and edi, 0xffffffb1
jmp 0x496ca3
push esi
or edi, 8
call fcn.004abce0
add esp, 4
test eax, eax
je 0x496ca0
and edi, 0xffffffbf
jmp 0x496ca3
or edi, 0x40
cmp edi, dword [ebx + 0x24]
je 0x496cab
mov dword [ebx + 0x24], edi
mov edi, dword [esp + 0xe8]
xor esi, esi
mov ecx, edi
call fcn.005201f0
test eax, eax
je 0x496cc8
mov ecx, edi
call fcn.005208f0
mov esi, eax
mov ebp, dword [ebx + 0x24]
mov ecx, ebp
and ch, 0xfe
test esi, esi
je 0x496d04
mov al, byte [esi + 6]
cmp al, 1
je 0x496ce8
test al, al
je 0x496ce8
xor eax, eax
mov ah, byte [esi + 5]
mov edi, eax
jmp 0x496cea
xor edi, edi
xor eax, eax
mov al, byte [esi + 4]
add eax, edi
lea edx, [eax + eax*4]
lea eax, [edx*4 + 8]
mov edx, dword [esi]
cmp edx, eax
jb 0x496d04
or ch, 1
cmp ecx, ebp
je 0x496d0b
mov dword [ebx + 0x24], ecx
mov eax, dword [esp + 0xec]
test eax, eax
je 0x496d56
mov ecx, dword [esp + 0xe8]
mov edx, dword [esp + 0xe0]
mov eax, dword [esp + 0xdc]
push ecx
mov ecx, dword [esp + 0xdc]
push edx
mov edx, dword [esp + 0xdc]
push eax
mov eax, dword [esp + 0xdc]
push ecx
mov ecx, dword [esp + 0xd8]
push edx
push eax
push ebx
push ecx
call fcn.004a07d0
jmp 0x496d94
mov edx, dword [esp + 0xe8]
mov eax, dword [esp + 0xe0]
mov ecx, dword [esp + 0xdc]
push edx
mov edx, dword [esp + 0xdc]
push eax
mov eax, dword [esp + 0xdc]
push ecx
mov ecx, dword [esp + 0xdc]
push edx
mov edx, dword [esp + 0xd8]
push eax
push ecx
push ebx
push edx
call fcn.004ae3c0
add esp, 0x20
test eax, eax
je 0x496df5
jmp 0x496e14
mov dword [0x5991d0], 1
mov dword [0x5991d4], 0x2ad
jmp 0x496e09
mov dword [0x5991d0], 0xb
mov dword [0x5991d4], 0x2c3
jmp 0x496e09
mov dword [0x5991d0], 0xc
mov dword [0x5991d4], 0x2cb
jmp 0x496e09
mov dword [0x5991d0], 0x25
mov dword [0x5991d4], 0x30d
jmp 0x496e09
mov dword [0x5991d0], 0x10
mov dword [0x5991d4], 0x3e8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x5991d8], eax
mov ecx, dword [esp + 0xb8]
mov eax, dword [esp + 0x4c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xb4
ret