Function at 0x431580
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x7d0
cmp byte [edx], 0
mov esi, edx
mov ebx, ecx
mov dword [esp], ecx
je 0x4318d6
mov eax, dword [ebx + 0xd8]
mov dword [esp + 0x90], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0x358], 0
mov dword [esp + 0xc], esi
mov dword [esp + 0x94], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0x35c], 0
test eax, eax
je 0x431643
lea ecx, [esp + 0x4c]
lea edx, [esp + 0x74]
lea esi, [esp + 0x90]
push ecx
push edx
push esi
push esi
push dword [eax + 8]
call sub.kernel32.dll_GetProcessTimes
test eax, eax
jne 0x431643
call sub.kernel32.dll_GetLastError
mov esi, ebx
lea eax, [esp + 0x358]
lea ecx, [esp + 0xb4]
lea edx, [esp + 0x30]
push eax
push ecx
push edx
call sub.kernel32.dll_GetSystemTimes
test eax, eax
jne 0x431668
call sub.kernel32.dll_GetLastError
mov edi, dword [esp + 0xb4]
mov ebx, dword [esp + 0xb8]
mov eax, dword [esi + 0x70]
mov ecx, dword [esi + 0x74]
mov edx, 0
movd xmm2, dword [esp + 0x358]
cmp edi, eax
mov esi, ebx
movd xmm0, edi
movd xmm1, ebx
sbb esi, ecx
punpckldq xmm0, xmm2
movd xmm2, dword [esp + 0x78]
cmovb eax, edx
cmovb ecx, edx
mov edx, dword [esp + 0x35c]
sub edi, eax
mov eax, dword [esp]
sbb ebx, ecx
mov dword [esp + 4], ebx
movd xmm3, edx
mov ecx, dword [eax + 0x78]
mov eax, dword [esp]
punpckldq xmm1, xmm3
movd xmm3, dword [esp + 0x4c]
punpckldq xmm0, xmm1
pshufd xmm1, xmm0, 0xee
movd esi, xmm1
movd xmm1, dword [esp + 0x50]
mov ebx, dword [eax + 0x7c]
cmp esi, ecx
mov eax, edx
punpckldq xmm2, xmm1
movd xmm1, dword [esp + 0x74]
sbb eax, ebx
mov eax, 0
cmovb ecx, eax
cmovb ebx, eax
mov eax, 0xffffffff
sub esi, ecx
sbb edx, ebx
mov ebx, dword [esp]
add esi, edi
punpckldq xmm1, xmm3
adc edx, dword [esp + 4]
punpckldq xmm1, xmm2
mov ecx, dword [ebx + 0x68]
mov edi, dword [ebx + 0x60]
cmovb esi, eax
cmovb edx, eax
mov eax, esi
or eax, edx
mov eax, dword [ebx + 0x6c]
mov dword [esp + 0x14], ecx
mov ecx, dword [ebx + 0x64]
movdqu xmmword [ebx + 0x60], xmm1
movdqu xmmword [ebx + 0x70], xmm0
je 0x431925
pshufd xmm0, xmm1, 0x55
movd ebx, xmm1
mov dword [esp + 4], eax
movd eax, xmm0
mov dword [esp + 0x18], ebx
cmp ebx, edi
pshufd xmm0, xmm1, 0xff
pshufd xmm1, xmm1, 0xee
mov ebx, eax
sbb ebx, ecx
mov ebx, 0
cmovb edi, ebx
cmovb ecx, ebx
sub dword [esp + 0x18], edi
movd edi, xmm0
movd xmm0, esi
mov ebx, edi
sbb eax, ecx
movd ecx, xmm1
movd xmm1, edx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x2c], ecx
punpckldq xmm0, xmm1
cmp ecx, eax
mov ecx, dword [esp + 4]
sbb ebx, dword [esp + 4]
mov ebx, 0
cmovb ecx, ebx
cmovb eax, ebx
mov ebx, dword [esp]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x2c]
sub ecx, eax
sbb edi, dword [esp + 4]
movq qword [esp + 0xa0], xmm0
shr edx, 0x1f
fild qword [esp + 0xa0]
fnstcw word [esp + 0x66]
movzx eax, word [esp + 0x66]
or eax, 0x300
mov word [esp + 0x72], ax
mov eax, 0xffffffff
fldcw word [esp + 0x72]
fadd dword [edx*4 + 0x457b50]
add ecx, dword [esp + 0x18]
adc edi, dword [esp + 0x1c]
fldcw word [esp + 0x66]
cmovb edi, eax
cmovb ecx, eax
fstp dword [esp + 0x8c]
movd xmm0, edi
movd xmm1, ecx
shr edi, 0x1f
mov ecx, dword [ebp + 8]
punpckldq xmm1, xmm0
movq qword [esp + 0xa8], xmm1
fild qword [esp + 0xa8]
fnstcw word [esp + 0x64]
movzx eax, word [esp + 0x64]
movd xmm1, ecx
or eax, 0x300
mov word [esp + 0x70], ax
mov eax, dword [ebp + 0xc]
fldcw word [esp + 0x70]
movd xmm2, eax
shr eax, 0x1f
fadd dword [edi*4 + 0x457b50]
fldcw word [esp + 0x64]
punpckldq xmm1, xmm2
fstp dword [esp + 0x84]
movss xmm0, dword [esp + 0x84]
divss xmm0, dword [esp + 0x8c]
movq qword [esp + 0x98], xmm1
fild qword [esp + 0x98]
fnstcw word [esp + 0x62]
movzx ecx, word [esp + 0x62]
mulss xmm0, dword [0x457b58]
or ecx, 0x300
mov word [esp + 0x6e], cx
fldcw word [esp + 0x6e]
fadd dword [eax*4 + 0x457b50]
fldcw word [esp + 0x62]
fstp dword [esp + 0x88]
mulss xmm0, dword [esp + 0x88]
mov esi, dword [esp + 0xc]
movss dword [ebx + 0xdc], xmm0
cmp byte [esi + 1], 0
je 0x431939
mov eax, dword [ebx + 0xd8]
test eax, eax
je 0x431939
lea ecx, [esp + 0x358]
push ecx
push dword [eax + 8]
call sub.kernel32.dll_GetProcessIoCounters
test eax, eax
je 0x431a64
movups xmm0, xmmword [ebx + 0xa0]
movdqu xmm1, xmmword [esp + 0x370]
movups xmmword [ebx + 0x90], xmm0
movdqu xmmword [ebx + 0xa0], xmm1
cmp byte [esi + 2], 0
jne 0x43193f
jmp 0x431950
mov esi, dword [esp + 0xc]
mov dword [ebx + 0xdc], 0
cmp byte [esi + 1], 0
jne 0x4318dc
cmp byte [esi + 2], 0
je 0x431950
movss xmm0, dword [ebp + 0x18]
movss xmm1, dword [ebp + 0x1c]
movlhps xmm1, xmm0
movups xmmword [ebx + 0x50], xmm1
mov eax, dword [ebx + 0xd8]
test eax, eax
je 0x431a93
movzx ecx, byte [esi + 3]
test ecx, ecx
je 0x431a93
mov eax, dword [eax + 8]
cmp ecx, 1
je 0x431980
xor ecx, ecx
cmp ecx, dword [ebx + 0xc8]
jno 0x431a93
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], 0
push ecx
push 8
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
je 0x431a8b
mov ebx, dword [esp + 0x30]
lea eax, [ebx + 1]
cmp eax, 2
jb 0x431a90
mov dword [esp + 0xc], esi
lea esi, [esp + 0xb4]
mov dword [esp + 0xb4], 0
push esi
push 0
push 0
push 1
push ebx
call sub.advapi32.dll_GetTokenInformation
test eax, eax
jne 0x4319f3
call sub.kernel32.dll_GetLastError
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
cmp ecx, 0x8007007a
jne 0x431a7d
mov edi, dword [esp + 0xb4]
call sub.kernel32.dll_GetProcessHeap
lea ecx, [eax - 1]
cmp ecx, 0xfffffffe
jae 0x431a78
push edi
push 8
push eax
call sub.kernel32.dll_HeapAlloc
test eax, eax
je 0x431a7d
mov edi, eax
push esi
push dword [esp + 0xb8]
push eax
push 1
push ebx
call sub.advapi32.dll_GetTokenInformation
test eax, eax
je 0x431e2e
mov edx, dword [edi]
lea ecx, [esp + 0x358]
call fcn.00432a60
mov esi, dword [esp + 0x358]
mov eax, esi
neg eax
jno 0x431e3f
mov ecx, edi
call fcn.00432a30
mov ecx, ebx
call fcn.00432af0
mov ebx, dword [esp]
jmp 0x431ea7
call sub.kernel32.dll_GetLastError
cmp byte [esi + 2], 0
jne 0x43193f
jmp 0x431950
call sub.kernel32.dll_GetLastError
push ebx
call sub.kernel32.dll_CloseHandle
mov esi, dword [esp + 0xc]
test eax, eax
jne 0x431a90
call sub.kernel32.dll_GetLastError
mov ebx, dword [esp]
movzx eax, byte [esi + 7]
movzx edi, byte [esi + 4]
movzx ecx, byte [esi + 5]
movzx edx, byte [esi + 6]
test eax, eax
mov dword [esp + 4], eax
je 0x431abb
cmp dword [esp + 4], 1
je 0x431af5
cmp dword [ebx + 0xb8], 0
je 0x431af5
test edx, edx
je 0x431acd
cmp edx, 1
je 0x431af5
cmp dword [ebx + 0xc4], 0
je 0x431af5
test edi, edi
je 0x431add
cmp edi, 1
je 0x431af5
xor eax, eax
cmp eax, dword [ebx + 0x30]
jo 0x431af5
test ecx, ecx
je 0x4327fe
cmp ecx, 1
je 0x431af5
xor eax, eax
cmp eax, dword [ebx + 0x40]
jno 0x4327fe
mov eax, dword [ebx + 0xd8]
test eax, eax
je 0x4327fe
mov dword [esp + 0x14], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x1c], edx
lea eax, [esp + 0x74]
push 0
push 4
push eax
push 0x1a
mov dword [esp + 0x28], ecx
push ecx
call sub.ntdll.dll_NtQueryInformationProcess
test eax, eax
js 0x4327fe
mov ecx, dword [esp + 0x74]
test ecx, ecx
je 0x431c4b
mov dword [esp + 0x2c], edi
lea eax, [esp + 0x358]
push 0
push 0x470
push eax
push ecx
mov edi, dword [esp + 0x28]
push edi
call sub.kernel32.dll_ReadProcessMemory
test eax, eax
je 0x431c41
lea eax, [esp + 0xb4]
push 0
push 0x2a4
push eax
push dword [esp + 0x374]
push edi
call sub.kernel32.dll_ReadProcessMemory
test eax, eax
je 0x431c41
movzx eax, word [esp + 0xd8]
mov dword [esp + 0xc], esi
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0xdc]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xfc]
mov dword [esp + 8], eax
mov eax, dword [esp + 4]
test eax, eax
je 0x432488
mov edi, dword [esp + 0xf8]
movzx esi, word [esp + 0xf4]
cmp eax, 1
je 0x431bd4
cmp dword [ebx + 0xb8], 0
jne 0x432488
mov eax, dword [0x4af0cc]
cmp eax, 3
jne 0x432378
cmp byte [0x4af0d0], 0
lea eax, [ebx + 0xb0]
mov dword [esp + 4], eax
je 0x432394
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x30]
call fcn.00432d10
mov edi, dword [ebx + 0xb4]
mov ebx, dword [ebx + 0xb8]
test ebx, ebx
je 0x43245d
lea esi, [edi + 4]
jmp 0x431c2a
add esi, 0x10
dec ebx
je 0x43245d
cmp dword [esi - 4], 0
je 0x431c20
push dword [esi]
push 0
push dword [0x4af0c0]
call sub.kernel32.dll_HeapFree
jmp 0x431c20
call sub.kernel32.dll_GetLastError
jmp 0x4327fe
mov dword [esp + 0x2c], ecx
mov dword [esp + 0xc], esi
lea eax, [esp + 0x358]
push 0
push 0x18
push eax
push 0
mov esi, dword [esp + 0x28]
push esi
call sub.ntdll.dll_NtQueryInformationProcess
test eax, eax
js 0x431db2
mov ecx, dword [esp + 0x36c]
mov eax, dword [esp + 0x35c]
xor edx, edx
test ecx, ecx
setne dl
mov dword [ebx], edx
mov dword [ebx + 4], ecx
lea ecx, [esp + 0xb4]
push 0
push 0x1d8
push ecx
push eax
push esi
call sub.kernel32.dll_ReadProcessMemory
test eax, eax
je 0x431dad
push 0
push 0x2a4
lea eax, [esp + 0x360]
push eax
push dword [esp + 0xd0]
push esi
call sub.kernel32.dll_ReadProcessMemory
test eax, eax
je 0x431dad
movzx eax, word [esp + 0x37c]
cmp dword [esp + 4], 0
mov esi, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x380]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x3a0]
je 0x431f59
mov ebx, dword [esp + 0x39c]
cmp dword [esp + 4], 1
mov dword [esp + 0x10], ebx
movzx ebx, word [esp + 0x398]
mov dword [esp + 0x24], ebx
je 0x431d36
mov ebx, eax
mov eax, dword [esp]
cmp dword [eax + 0xb8], 0
mov eax, ebx
jne 0x431f59
mov dword [esp + 8], eax
mov eax, dword [0x4af0cc]
cmp eax, 3
jne 0x432a1f
mov esi, dword [esp]
cmp byte [0x4af0d0], 0
lea ecx, [esp + 0x30]
lea ebx, [esi + 0xb0]
mov dword [esp + 0x20], ebx
je 0x431dbb
mov edx, dword [esp + 0x18]
call fcn.00432d10
mov eax, dword [esi + 0xb4]
mov esi, dword [esi + 0xb8]
mov ecx, dword [esp + 0x14]
test esi, esi
mov dword [esp + 0x10], eax
je 0x431dfd
mov eax, dword [esp + 0x10]
lea ebx, [eax + 4]
jmp 0x431d92
add ebx, 0x10
dec esi
je 0x431dfd
cmp dword [ebx - 4], 0
je 0x431d8c
push dword [ebx]
push 0
push dword [0x4af0c0]
call sub.kernel32.dll_HeapFree
mov ecx, dword [esp + 0x14]
jmp 0x431d8c
call sub.kernel32.dll_GetLastError
mov esi, dword [esp + 0xc]
jmp 0x4327fe
mov edx, dword [esp + 0x18]
push dword [esp + 0x24]
push dword [esp + 0x14]
call fcn.00432b60
add esp, 8
mov esi, dword [esp + 0x30]
mov eax, esi
neg eax
jno 0x431eb0
mov esi, dword [esp]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 4
mov dword [esp + 0x54], 0
jmp 0x431ed4
mov esi, dword [esp + 0x20]
cmp dword [esi], 0
je 0x431e1b
push dword [esp + 0x10]
push 0
push dword [0x4af0c0]
call sub.kernel32.dll_HeapFree
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x38]
movsd xmm0, qword [esp + 0x30]
mov edx, dword [esp + 0x1c]
jmp 0x431f4a
call sub.kernel32.dll_GetLastError
mov ecx, edi
call fcn.00432a30
jmp 0x431a7d
mov dword [esp + 4], edi
mov edi, dword [esp]
mov eax, dword [esp + 0x35c]
mov ecx, dword [esp + 0x360]
test dword [edi + 0xc8], 0x7fffffff
je 0x431e83
push dword [edi + 0xcc]
push 0
push dword [0x4af0c0]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ecx
call sub.kernel32.dll_HeapFree
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov dword [edi + 0xc8], esi
mov dword [edi + 0xcc], eax
mov dword [edi + 0xd0], ecx
mov ecx, dword [esp + 4]
call fcn.00432a30
mov ecx, ebx
call fcn.00432af0
mov ebx, edi
mov esi, dword [esp + 0xc]
jmp 0x431a93
mov ebx, dword [esp + 0x34]
lea ecx, [esp + 0x4c]
mov edx, ebx
call fcn.00432c20
test esi, esi
mov esi, dword [esp]
je 0x431ed4
push ebx
push 0
push dword [0x4af0c0]
call sub.kernel32.dll_HeapFree
mov eax, dword [esi + 0xb4]
mov esi, dword [esi + 0xb8]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
test esi, esi
mov dword [esp + 0x10], eax
je 0x431f1e
mov eax, dword [esp + 0x10]
lea ebx, [eax + 4]
jmp 0x431eff
add ebx, 0x10
dec esi
je 0x431f1e
cmp dword [ebx - 4], 0
je 0x431ef9
push dword [ebx]
push 0
push dword [0x4af0c0]
call sub.kernel32.dll_HeapFree
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
jmp 0x431ef9
mov esi, dword [esp + 0x20]
cmp dword [esi], 0
je 0x431f40
push dword [esp + 0x10]
push 0
push dword [0x4af0c0]
call sub.kernel32.dll_HeapFree
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x54]
movsd xmm0, qword [esp + 0x4c]
mov dword [esi + 8], eax
movsd qword [esi], xmm0
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 8]
mov ebx, dword [esp]
test edx, edx
je 0x43219b
cmp edx, 1
je 0x431f76
cmp dword [ebx + 0xc4], 0
jne 0x43219b
mov esi, eax
lea eax, [ebx + 0xbc]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x30]
push 0x1c
push eax
push esi
push dword [esp + 0x24]
call sub.kernel32.dll_VirtualQueryEx
test eax, eax
je 0x431fc1
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x4c]
sub eax, esi
add eax, dword [esp + 0x3c]
push eax
push esi
call fcn.00432b60
add esp, 8
mov ecx, dword [esp + 0x4c]
mov eax, ecx
neg eax
jno 0x432041
mov eax, dword [ebx + 0xc0]
mov ebx, dword [ebx + 0xc4]
test ebx, ebx
mov dword [esp + 8], eax
je 0x431ffd
mov eax, dword [esp + 8]
lea esi, [eax + 4]
jmp 0x431fe6
add esi, 0x10
dec ebx
je 0x431ffd
cmp dword [esi - 4], 0
je 0x431fe0
push dword [esi]
push 0
push dword [0x4af0c0]
call sub.kernel32.dll_HeapFree
jmp 0x431fe0
mov eax, dword [esp + 0x20]
cmp dword [eax], 0
je 0x432017
push dword [esp + 8]
push 0
push dword [0x4af0c0]
call sub.kernel32.dll_HeapFree
mov ebx, dword [esp]
mov esi, dword [esp + 0xc]
mov dword [ebx + 0xbc], 0
mov dword [ebx + 0xc0], 4
mov dword [ebx + 0xc4], 0
jmp 0x432197
mov esi, dword [ebx + 0xc4]
mov dword [esp + 0x68], ecx
mov ecx, dword [ebx + 0xc0]
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
mov dword [ebx + 0xc4], 0
test esi, esi
mov dword [esp + 0x10], eax
mov dword [esp + 8], edx
mov dword [esp + 0x24], ecx
je 0x432099
mov eax, dword [esp + 0x24]
lea ebx, [eax + 4]
jmp 0x432082
add ebx, 0x10
dec esi
je 0x432099
cmp dword [ebx - 4], 0
je 0x43207c
push dword [ebx]
push 0
push dword [0x4af0c0]
call sub.kernel32.dll_HeapFree
jmp 0x43207c
mov eax, dword [esp + 8]
xor ebx, ebx
mov dword [esp + 0x7c], 0
lea esi, [eax + eax]
mov dword [esp + 0x80], esi
lea eax, [ebx + ebx]
sub esi, eax
je 0x432178
mov eax, dword [esp + 0x10]
xor ecx, ecx
lea edx, [eax + ebx*2]
xor eax, eax
cmp word [edx + eax*2], 0
je 0x4320dc
inc eax
add ecx, 2
add esi, 0xfffffffe
jne 0x4320c7
jmp 0x432178
add ebx, eax
jb 0x432a00
cmp ebx, dword [esp + 8]
mov esi, edx
ja 0x432a00
test ecx, ecx
je 0x432178
add ecx, 0xfffffffe
cmp word [esi], 0x3d
lea esi, [esi + 2]
jne 0x4320f0
lea ecx, [esp + 0x30]
push eax
call fcn.00429d70
add esp, 4
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x7c]
cmp esi, dword [eax]
jne 0x432133
mov ecx, dword [esp + 0x20]
call fcn.00432e30
mov eax, dword [esp]
mov eax, dword [eax + 0xc0]
mov dword [esp + 0x24], eax
movsd xmm0, qword [esp + 0x30]
movq xmm1, qword [esp + 0x38]
mov ecx, dword [esp + 0x24]
mov eax, esi
inc esi
inc ebx
shl eax, 4
mov dword [esp + 0x7c], esi
cmp ebx, dword [esp + 8]
movq qword [ecx + eax + 8], xmm1
movsd qword [ecx + eax], xmm0
mov ecx, dword [esp]
mov dword [ecx + 0xc4], esi
mov esi, dword [esp + 0x80]
jbe 0x4320b1
jmp 0x432a00
cmp dword [esp + 0x68], 0
mov ebx, dword [esp]
mov esi, dword [esp + 0xc]
je 0x432197
push dword [esp + 0x10]
push 0
push dword [0x4af0c0]
call sub.kernel32.dll_HeapFree
mov ecx, dword [esp + 0x14]
lea edx, [ebx + 0x30]
test edi, edi
je 0x4321ab
cmp edi, 1
jne 0x4321b5
mov al, 1
jmp 0x4321bc
mov dword [esp + 8], 0
jmp 0x4321c0
xor eax, eax
cmp eax, dword [edx]
seto al
mov dword [esp + 8], eax
lea eax, [ebx + 0x40]
test ecx, ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
je 0x4321e5
cmp ecx, 1
mov ecx, dword [esp + 0x28]
je 0x4321f7
mov edx, dword [esp + 0x24]
xor eax, eax
cmp eax, dword [edx]
seto al
jmp 0x4321eb
mov ecx, dword [esp + 0x28]
xor eax, eax
or al, byte [esp + 8]
cmp al, 1
jne 0x43236f
mov esi, ecx
movzx eax, byte [0x4af0d4]
xor ecx, ecx
shr esi, 1
lea ebx, [esi + esi + 2]
mov edx, ebx
call fcn.0042bb70
test eax, eax
je 0x432a00
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], 0
push ecx
push dword [esp + 0x2c]
mov dword [esp + 0x18], eax
push eax
push dword [esp + 0x68]
push dword [esp + 0x28]
call sub.kernel32.dll_ReadProcessMemory
test eax, eax
je 0x4322fc
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x30], eax
jne 0x432301
mov edx, dword [esp + 0x10]
xor eax, eax
mov word [edx + esi*2], 0
inc esi
cmp word [edx + eax*2], 0
je 0x43226c
inc eax
add ebx, 0xfffffffe
jne 0x43225d
mov eax, esi
lea ecx, [esp + 0x4c]
push eax
call fcn.00429d70
add esp, 4
mov ebx, dword [esp + 0x50]
mov ecx, dword [esp + 0x14]
mov edx, ebx
push dword [esp + 0x24]
push dword [esp + 0x58]
call fcn.00432ec0
add esp, 8
cmp byte [esp + 8], 0
mov esi, dword [esp + 0xc]
je 0x432341
mov eax, dword [esp + 0x20]
movsd xmm0, qword [esp + 0x4c]
movsd xmm1, qword [esp + 0x54]
mov ecx, dword [esp + 0x10]
test dword [eax], 0x7fffffff
movsd qword [esp + 0x38], xmm1
movsd qword [esp + 0x30], xmm0
je 0x4322e5
mov eax, dword [esp]
push dword [eax + 0x34]
push 0
push dword [0x4af0c0]
call sub.kernel32.dll_HeapFree
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
movsd xmm0, qword [esp + 0x30]
movq xmm1, qword [esp + 0x38]
movq qword [eax + 8], xmm1
movsd qword [eax], xmm0
jmp 0x43235e
call sub.kernel32.dll_GetLastError
push dword [esp + 0x10]
push 0
push dword [0x4af0c0]
call sub.kernel32.dll_HeapFree
mov eax, dword [esp + 0x20]
mov ebx, dword [esp]
test dword [eax], 0x7fffffff
je 0x432335
push dword [ebx + 0x34]
push 0
push dword [0x4af0c0]
call sub.kernel32.dll_HeapFree
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0xc]
mov dword [eax], 0x80000000
jmp 0x43236f
cmp dword [esp + 0x4c], 0
mov ecx, dword [esp + 0x10]
je 0x43235e
push ebx
push 0
push dword [0x4af0c0]
call sub.kernel32.dll_HeapFree
mov ecx, dword [esp + 0x10]
push ecx
push 0
push dword [0x4af0c0]
call sub.kernel32.dll_HeapFree
mov ebx, dword [esp]
mov ecx, dword [esp + 0x2c]
jmp 0x431b37
call fcn.00432b10
cmp byte [0x4af0d0], 0
lea eax, [ebx + 0xb0]
mov dword [esp + 4], eax
jne 0x431bf9
mov edx, esi
movzx eax, byte [0x4af0d4]
xor ecx, ecx
and edx, 0xfffffffe
add edx, 2
call fcn.0042bb70
test eax, eax
je 0x432a00
mov ebx, eax
lea eax, [esp + 0x30]
mov dword [esp + 0x30], 0
push eax
push esi
push ebx
push edi
push dword [esp + 0x28]
call sub.kernel32.dll_ReadProcessMemory
test eax, eax
je 0x4323fa
cmp dword [esp + 0x30], esi
jne 0x4323ff
shr esi, 1
lea ecx, [esp + 0x30]
mov edx, ebx
mov word [ebx + esi*2], 0
call fcn.00432c20
push ebx
push 0
push dword [0x4af0c0]
call sub.kernel32.dll_HeapFree
jmp 0x432425
call sub.kernel32.dll_GetLastError
push ebx
push 0
push dword [0x4af0c0]
call sub.kernel32.dll_HeapFree
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 4
mov dword [esp + 0x38], 0
mov eax, dword [esp]
mov ebx, dword [eax + 0xb8]
mov edi, dword [eax + 0xb4]
test ebx, ebx
je 0x43245d
lea esi, [edi + 4]
jmp 0x432446
add esi, 0x10
dec ebx
je 0x43245d
cmp dword [esi - 4], 0
je 0x432440
push dword [esi]
push 0
push dword [0x4af0c0]
call sub.kernel32.dll_HeapFree
jmp 0x432440
mov esi, dword [esp + 4]
cmp dword [esi], 0
je 0x432474
push edi
push 0
push dword [0x4af0c0]
call sub.kernel32.dll_HeapFree
mov eax, dword [esp + 0x38]
movsd xmm0, qword [esp + 0x30]
mov ebx, dword [esp]
mov dword [esi + 8], eax
movsd qword [esi], xmm0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x2c]
test eax, eax
je 0x43262d
cmp eax, 1
je 0x4324ae
cmp dword [ebx + 0xc4], 0
jne 0x43262d
lea eax, [ebx + 0xbc]
lea ebx, [esp + 0x30]
mov dword [esp + 4], eax
push 0x1c
push ebx
mov edi, dword [esp + 0x10]
push edi
push dword [esp + 0x24]
call sub.kernel32.dll_VirtualQueryEx
test eax, eax
je 0x432599
mov esi, dword [esp + 0x30]
sub esi, edi
add esi, dword [esp + 0x3c]
mov edi, esi
shr edi, 1
mov eax, edi
inc eax
mov dword [esp + 0x5c], eax
js 0x432a00
lea edx, [edi + edi + 2]
cmp edx, 0x7fffffff
jae 0x432a00
movzx eax, byte [0x4af0d4]
xor ecx, ecx
mov dword [esp + 0x10], edx
call fcn.0042bb70
test eax, eax
je 0x432a00
mov dword [esp + 0x30], 0
push ebx
push esi
mov dword [esp + 0x24], eax
push eax
push dword [esp + 0x14]
push dword [esp + 0x28]
call sub.kernel32.dll_ReadProcessMemory
test eax, eax
je 0x43259e
cmp dword [esp + 0x30], esi
mov ebx, dword [esp]
jne 0x4325a6
mov eax, dword [esp + 0x1c]
mov word [eax + edi*2], 0
mov esi, dword [ebx + 0xc4]
mov eax, dword [ebx + 0xc0]
mov dword [ebx + 0xc4], 0
test esi, esi
mov dword [esp + 8], eax
je 0x43292a
mov eax, dword [esp + 8]
lea edi, [eax + 4]
jmp 0x432582
add edi, 0x10
dec esi
je 0x43292a
cmp dword [edi - 4], 0
je 0x432578
push dword [edi]
push 0
push dword [0x4af0c0]
call sub.kernel32.dll_HeapFree
jmp 0x432578
mov ebx, dword [esp]
jmp 0x4325b7
call sub.kernel32.dll_GetLastError
mov ebx, dword [esp]
push dword [esp + 0x1c]
push 0
push dword [0x4af0c0]
call sub.kernel32.dll_HeapFree
mov edi, dword [ebx + 0xc4]
mov esi, dword [ebx + 0xc0]
test edi, edi
je 0x4325ed
lea ebx, [esi + 4]
jmp 0x4325d6
add ebx, 0x10
dec edi
je 0x4325ed
cmp dword [ebx - 4], 0
je 0x4325d0
push dword [ebx]
push 0
push dword [0x4af0c0]
call sub.kernel32.dll_HeapFree
jmp 0x4325d0
mov eax, dword [esp + 4]
cmp dword [eax], 0
je 0x432604
push esi
push 0
push dword [0x4af0c0]
call sub.kernel32.dll_HeapFree
mov ebx, dword [esp]
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x2c]
mov dword [ebx + 0xbc], 0
mov dword [ebx + 0xc0], 4
mov dword [ebx + 0xc4], 0
mov esi, dword [esp + 0xc]
lea edx, [ebx + 0x30]
test edi, edi
mov dword [esp + 0x1c], edx
je 0x432645
cmp edi, 1
jne 0x432667
mov al, 1
jmp 0x43266e
mov dword [esp + 4], 0
mov edx, dword [esp + 0x28]
lea edi, [ebx + 0x40]
test ecx, ecx
jne 0x43267d
xor eax, eax
or al, byte [esp + 4]
cmp al, 1
je 0x432695
jmp 0x4327fe
xor eax, eax
cmp eax, dword [edx]
seto al
mov dword [esp + 4], eax
mov edx, dword [esp + 0x28]
lea edi, [ebx + 0x40]
test ecx, ecx
je 0x432658
cmp ecx, 1
je 0x432695
xor eax, eax
cmp eax, dword [edi]
seto al
or al, byte [esp + 4]
cmp al, 1
jne 0x4327fe
mov esi, edx
mov dword [esp + 0x2c], edi
xor ecx, ecx
shr esi, 1
movzx eax, byte [0x4af0d4]
lea edi, [esi + esi + 2]
mov edx, edi
call fcn.0042bb70
test eax, eax
je 0x432a00
mov ebx, eax
lea eax, [esp + 0x30]
mov dword [esp + 0x30], 0
push eax
push dword [esp + 0x2c]
push ebx
push dword [esp + 0x2c]
push dword [esp + 0x28]
call sub.kernel32.dll_ReadProcessMemory
test eax, eax
je 0x432799
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x30], eax
jne 0x43279e
mov word [ebx + esi*2], 0
inc esi
xor eax, eax
nop dword [eax]
cmp word [ebx + eax*2], 0
je 0x43270f
inc eax
add edi, 0xfffffffe
jne 0x432700
mov eax, esi
lea ecx, [esp + 0x4c]
mov edx, ebx
push eax
call fcn.00429d70
add esp, 4
mov edi, dword [esp + 0x50]
mov ecx, dword [esp + 0x14]
mov edx, edi
push dword [esp + 0x2c]
push dword [esp + 0x58]
call fcn.00432ec0
add esp, 8
cmp byte [esp + 4], 0
mov esi, dword [esp + 0xc]
je 0x4327db
mov ecx, dword [esp + 0x1c]
movsd xmm0, qword [esp + 0x4c]
movsd xmm1, qword [esp + 0x54]
test dword [ecx], 0x7fffffff
movsd qword [esp + 0x38], xmm1
movsd qword [esp + 0x30], xmm0
je 0x432782
mov eax, dword [esp]
push dword [eax + 0x34]
push 0
push dword [0x4af0c0]
mov edi, ecx
call sub.kernel32.dll_HeapFree
mov ecx, edi
movsd xmm0, qword [esp + 0x30]
movq xmm1, qword [esp + 0x38]
movq qword [ecx + 8], xmm1
movsd qword [ecx], xmm0
jmp 0x4327f0
call sub.kernel32.dll_GetLastError
push ebx
push 0
push dword [0x4af0c0]
call sub.kernel32.dll_HeapFree
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp]
test dword [ecx], 0x7fffffff
je 0x4327cf
push dword [eax + 0x34]
push 0
push dword [0x4af0c0]
mov esi, ecx
call sub.kernel32.dll_HeapFree
mov ecx, esi
mov esi, dword [esp + 0xc]
mov dword [ecx], 0x80000000
jmp 0x4327fe
cmp dword [esp + 0x4c], 0
je 0x4327f0
push edi
push 0
push dword [0x4af0c0]
call sub.kernel32.dll_HeapFree
push ebx
push 0
push dword [0x4af0c0]
call sub.kernel32.dll_HeapFree
movzx eax, byte [esi + 8]
mov ebx, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
test eax, eax
je 0x4328d0
mov ecx, dword [esp]
cmp eax, 1
lea esi, [ecx + 0x20]
je 0x432825
xor eax, eax
cmp eax, dword [esi]
jno 0x4328d0
mov eax, dword [esp]
mov eax, dword [eax + 0xd8]
test eax, eax
je 0x432902
mov eax, dword [eax + 8]
mov dword [esp + 4], eax
lea eax, [esp + 0x358]
push 0x20a
push 0
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
add esp, 0xc
push 0x105
lea eax, [esp + 0x35c]
push eax
push 0
push dword [esp + 0x10]
call sub.psapi.dll_GetModuleFileNameExW
xor eax, eax
mov ecx, 0x20a
nop word cs:[eax + eax]
nop dword [eax]
cmp word [esp + eax*2 + 0x358], 0
je 0x432896
inc eax
add ecx, 0xfffffffe
jne 0x432880
mov eax, 0x105
lea ecx, [esp + 0xb4]
lea edx, [esp + 0x358]
push eax
call fcn.00429d70
add esp, 4
test dword [esi], 0x7fffffff
jne 0x432915
movsd xmm0, qword [esp + 0xb4]
movq xmm1, qword [esp + 0xbc]
movq qword [esi + 8], xmm1
movsd qword [esi], xmm0
mov ecx, dword [esp]
xor eax, eax
sub edi, dword [ecx + 0x80]
sbb ebx, dword [ecx + 0x84]
cmovb edi, eax
cmovb ebx, eax
mov dword [ecx + 0x8c], ebx
mov dword [ecx + 0x88], edi
mov byte [ecx + 0xe0], 1
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 0xb4], 0x80000000
test dword [esi], 0x7fffffff
je 0x4328b5
mov eax, dword [esp]
push dword [eax + 0x24]
push 0
push dword [0x4af0c0]
call sub.kernel32.dll_HeapFree
jmp 0x4328b5
mov eax, dword [esp + 0x5c]
mov edi, dword [esp + 0x2c]
xor ebx, ebx
mov dword [esp + 0x24], 0
lea ecx, [eax + eax]
mov dword [esp + 0x68], ecx
lea eax, [ebx + ebx]
cmp eax, ecx
je 0x432a02
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
lea edx, [ecx + ebx*2]
sub esi, eax
xor ecx, ecx
xor eax, eax
cmp word [edx + eax*2], 0
je 0x432974
inc eax
add ecx, 2
add esi, 0xfffffffe
jne 0x43295f
jmp 0x432a02
add ebx, eax
jb 0x432a00
cmp ebx, dword [esp + 0x5c]
mov esi, edx
ja 0x432a00
test ecx, ecx
je 0x432a02
add ecx, 0xfffffffe
cmp word [esi], 0x3d
lea esi, [esi + 2]
jne 0x432984
lea ecx, [esp + 0x30]
push eax
call fcn.00429d70
add esp, 4
mov eax, dword [esp + 4]
mov esi, dword [esp + 0x24]
cmp esi, dword [eax]
jne 0x4329c3
mov ecx, dword [esp + 4]
call fcn.00432e30
mov eax, dword [esp]
mov eax, dword [eax + 0xc0]
mov dword [esp + 8], eax
movsd xmm0, qword [esp + 0x30]
movq xmm1, qword [esp + 0x38]
mov ecx, dword [esp + 8]
mov eax, esi
inc esi
inc ebx
shl eax, 4
cmp ebx, dword [esp + 0x5c]
mov dword [esp + 0x24], esi
movq qword [ecx + eax + 8], xmm1
movsd qword [ecx + eax], xmm0
mov ecx, dword [esp]
mov dword [ecx + 0xc4], esi
mov ecx, dword [esp + 0x68]
jbe 0x432943
ud2
push dword [esp + 0x1c]
push 0
push dword [0x4af0c0]
call sub.kernel32.dll_HeapFree
mov ebx, dword [esp]
mov ecx, dword [esp + 0x14]
jmp 0x43262d
call fcn.00432b10
jmp 0x431d48