Function at 0x43df00
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x25
push 0
push 0
dec ecx
jne 0x43df09
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
test dl, dl
je 0x43df23
add esp, 0xfffffff0
call fcn.0042ba48
mov esi, ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov edi, dword [ebp + 0x14]
mov eax, dword [ebp + 0x18]
call fcn.0042c96c
lea eax, [ebp - 0xa8]
mov edx, dword [0x4311f8]
call fcn.0042cf74
xor eax, eax
push ebp
push 0x43f011
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x24], edx
call fcn.0043bc38
push ebp
push 0x43efc1
push dword fs:[0]
mov dword fs:[0], esp
call sub.KERNEL32.dll_GetVersion
test eax, 0x80000000
je 0x43df96
mov edx, 0x45fe68
mov eax, 0x45fe64
call fcn.00434f7c
mov eax, dword [ebp + 0xc]
mov dword [eax], edi
mov eax, dword [ebp - 4]
mov dword [eax + 0x30], esi
test byte [ebp + 8], 0x20
setne al
mov edx, dword [ebp - 4]
mov byte [edx + 0x34], al
test byte [ebp + 8], 0x40
setne al
mov edx, dword [ebp - 4]
mov byte [edx + 0x35], al
test byte [ebp + 9], 1
setne al
mov edx, dword [ebp - 4]
mov byte [edx + 0x36], al
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x28], edx
lea edx, [ebp - 0xe8]
mov eax, 0x43d4e4
call fcn.0043397c
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
add eax, 0xa
add eax, 0xf50
xor edx, edx
call fcn.0043b488
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x24], ebx
mov byte [ebx], 0xff
mov byte [ebx + 1], 0x25
lea eax, [ebx + 6]
mov dword [ebx + 2], eax
mov edx, dword [ebp - 4]
mov eax, edi
mov dword [edx + 8], eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0x10]
mov dword [eax + 0x10], edx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 4]
mov dword [edx + 0x14], eax
mov byte [ebp - 0x39], 0
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
xor ecx, ecx
mov eax, dword [0x45fd74]
call fcn.0043b070
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov cl, 1
mov eax, dword [0x45fd74]
call fcn.0043b070
call sub.KERNEL32.dll_GetVersion
test eax, 0x80000000
je 0x43e08a
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0x80000000
jb 0x43e092
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
call fcn.0042c5c0
lea eax, [ebp - 0x20]
call fcn.0042c528
jmp 0x43e092
lea eax, [ebp - 0x20]
call fcn.0042c528
lea edx, [ebp - 0xf0]
mov eax, dword [0x45fd54]
call fcn.0042fd38
push dword [ebp - 0xf0]
push 0x43f044
push dword [ebp - 0x1c]
lea eax, [ebp - 0xec]
mov edx, 3
call fcn.0042c83c
mov eax, dword [ebp - 0xec]
call fcn.0042c97c
push eax
call fcn.0043a8b4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x20], 0
je 0x43e11e
lea edx, [ebp - 0xf8]
mov eax, dword [0x45fd54]
call fcn.0042fd38
push dword [ebp - 0xf8]
push 0x43f044
push dword [ebp - 0x20]
lea eax, [ebp - 0xf4]
mov edx, 3
call fcn.0042c83c
mov eax, dword [ebp - 0xf4]
call fcn.0042c97c
push eax
call fcn.0043a8b4
mov dword [ebp - 0x10], eax
jmp 0x43e123
xor eax, eax
mov dword [ebp - 0x10], eax
push ebp
push 0x43ef9e
push dword fs:[0]
mov dword fs:[0], esp
cmp dword [ebp - 0xc], 0
je 0x43e148
push 0xffffffffffffffff
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.dll_WaitForSingleObject
cmp dword [ebp - 0x10], 0
je 0x43e159
push 0xffffffffffffffff
mov eax, dword [ebp - 0x10]
push eax
call sub.KERNEL32.dll_WaitForSingleObject
push ebp
push 0x43ef6b
push dword fs:[0]
mov dword fs:[0], esp
push 0xffffffffffffffff
lea edx, [ebp - 0x100]
mov eax, dword [0x45fd6c]
call fcn.0042fd38
push dword [ebp - 0x100]
push 0x43f044
push dword [ebp - 0x1c]
lea eax, [ebp - 0xfc]
mov edx, 3
call fcn.0042c83c
mov eax, dword [ebp - 0xfc]
call fcn.0042c97c
push eax
call fcn.0043ae84
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
call fcn.0043deb0
xor al, 1
mov edx, dword [ebp - 4]
mov byte [edx + 5], al
mov eax, dword [ebp - 4]
cmp byte [eax + 5], 0
je 0x43e238
cmp dword [ebp - 0x20], 0
je 0x43e238
push 0xffffffffffffffff
lea edx, [ebp - 0x108]
mov eax, dword [0x45fd6c]
call fcn.0042fd38
push dword [ebp - 0x108]
push 0x43f044
push dword [ebp - 0x20]
lea eax, [ebp - 0x104]
mov edx, 3
call fcn.0042c83c
mov eax, dword [ebp - 0x104]
call fcn.0042c97c
push eax
call fcn.0043ae84
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
call fcn.0043deb0
xor al, 1
mov edx, dword [ebp - 4]
mov byte [edx + 5], al
mov eax, dword [ebp - 4]
cmp byte [eax + 5], 0
jne 0x43e238
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
call fcn.0042c5c0
push ebp
push 0x43ef38
push dword fs:[0]
mov dword fs:[0], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 5], 0
je 0x43e751
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
mov edx, dword [ebp + 0x18]
mov eax, esi
call fcn.0043d9d0
test al, al
je 0x43e28d
mov dword [ebp - 0x34], 0x770001
call fcn.0042bff8
call fcn.0042bff8
call fcn.0042bff8
call fcn.0042bff8
jmp 0x43efc8
test byte [ebp + 8], 2
jne 0x43e359
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, esi
call fcn.0043d910
test al, al
je 0x43e2b1
or dword [ebp + 8], 2
jmp 0x43e359
test byte [ebp + 0xb], 0x80
jne 0x43e359
lea edx, [ebp - 0xa8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.0043397c
cmp byte [ebp - 0xa8], 0
je 0x43e2f8
cmp byte [ebp - 0x80], 0
je 0x43e2f8
cmp byte [0x45fbd8], 0
jne 0x43e359
lea ecx, [ebp - 0x3f]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, esi
call fcn.0043dd44
test al, al
je 0x43e359
or dword [ebp + 8], 2
cmp byte [ebp - 0xa8], 0
je 0x43e312
cmp byte [ebp - 0x80], 0
je 0x43e312
mov dword [ebp - 0x34], 0x770004
test byte [ebp + 9], 2
je 0x43e359
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.0043270c
cmp byte [ebp - 0x62], 0
je 0x43e359
cmp dword [ebp - 0x60], 0
je 0x43e359
lea edx, [ebp - 0xa8]
mov eax, dword [ebp - 0x60]
call fcn.0043397c
cmp byte [ebp - 0xa8], 0
je 0x43e359
cmp byte [ebp - 0x80], 0
je 0x43e359
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x30], eax
and dword [ebp + 8], 0xfffffffd
test byte [ebp + 8], 2
jne 0x43e399
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, esi
call fcn.0043db68
mov edx, dword [ebp - 4]
mov byte [edx + 0xc], al
mov eax, dword [ebp - 4]
cmp byte [eax + 0xc], 0
je 0x43e761
cmp dword [ebp - 0x20], 0
je 0x43e761
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
call fcn.0042c5c0
jmp 0x43e761
test byte [ebp + 8], 0x10
jne 0x43e731
test esi, esi
je 0x43e416
call sub.KERNEL32.dll_GetVersion
test eax, 0x80000000
jne 0x43e3ef
lea edx, [ebp - 0x110]
mov eax, dword [0x45fd34]
call fcn.0042fd38
mov eax, dword [ebp - 0x110]
lea ecx, [ebp - 0x10c]
mov dl, 1
call fcn.0042fd6c
mov eax, dword [ebp - 0x10c]
push eax
call sub.KERNEL32.dll_GetModuleHandleW
cmp esi, eax
sete al
mov edx, dword [ebp - 4]
mov byte [edx + 0x37], al
jmp 0x43e416
lea edx, [ebp - 0x114]
mov eax, dword [0x45fd34]
call fcn.0042fd38
mov eax, dword [ebp - 0x114]
push eax
call sub.KERNEL32.dll_GetModuleHandleA
cmp esi, eax
sete al
mov edx, dword [ebp - 4]
mov byte [edx + 0x37], al
mov eax, dword [ebp - 4]
cmp byte [eax + 0x37], 0
je 0x43e430
test byte [ebp + 8], 0x80
je 0x43e430
mov eax, esi
call fcn.0043b4b4
mov ebx, eax
jmp 0x43e432
xor ebx, ebx
mov eax, dword [ebp - 4]
cmp byte [eax + 0x37], 0
je 0x43e443
test ebx, ebx
je 0x43e711
call sub.KERNEL32.dll_GetVersion
test eax, 0x80000000
je 0x43e473
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0x80000000
jae 0x43e477
test esi, esi
je 0x43e473
mov eax, esi
call fcn.004300e0
mov edx, eax
mov eax, esi
call fcn.0043db68
test al, al
jne 0x43e477
xor eax, eax
jmp 0x43e479
mov al, 1
mov edx, dword [ebp - 4]
mov byte [edx + 0xc], al
mov eax, dword [ebp - 4]
cmp byte [eax + 0xc], 0
je 0x43e4a7
cmp dword [ebp - 0x20], 0
je 0x43e499
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
call fcn.0042c5c0
push 0
push 0xa
call fcn.00435024
mov dword [ebp - 0x2c], eax
jmp 0x43e4b6
xor edx, edx
mov eax, 0xa
call fcn.0043b488
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov byte [eax], 0xff
mov eax, dword [ebp - 0x2c]
mov byte [eax + 1], 0x25
mov eax, dword [ebp - 0x2c]
add eax, 6
mov edx, dword [ebp - 0x2c]
mov dword [edx + 2], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x2c]
mov dword [edx + 6], eax
mov eax, dword [0x4604e4]
mov dword [eax], fcn.0043b254
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0xc]
mov edx, dword [ebp - 0x2c]
mov eax, dword [0x45fd70]
call fcn.0043b070
push 4
lea edx, [ebp - 0x11c]
mov eax, dword [0x45fd6c]
call fcn.0042fd38
push dword [ebp - 0x11c]
push 0x43f044
push dword [ebp - 0x24]
lea eax, [ebp - 0x118]
mov edx, 3
call fcn.0042c83c
mov eax, dword [ebp - 0x118]
call fcn.0042c97c
push eax
call fcn.0043aae8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x43e588
push 0
push 0
push 0
push 0xf001f
mov eax, dword [ebp - 0x14]
push eax
call sub.KERNEL32.dll_MapViewOfFile
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x43e57a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x18]
mov dword [edx], eax
mov eax, dword [ebp - 0x18]
push eax
call sub.KERNEL32.dll_UnmapViewOfFile
jmp 0x43e588
mov eax, dword [ebp - 0x14]
push eax
call sub.KERNEL32.dll_CloseHandle
xor eax, eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x43e6b6
push ebx
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov ecx, dword [ebp - 0x2c]
mov eax, esi
call fcn.0043b618
test al, al
jne 0x43e5c8
call fcn.0043b828
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 8]
jne 0x43e6b6
mov eax, dword [ebp - 0x2c]
call fcn.0043b84c
test al, al
je 0x43e6b6
mov eax, dword [ebp - 4]
mov byte [eax + 0x38], 1
mov eax, dword [ebp - 4]
cmp byte [eax + 0xc], 0
je 0x43e610
mov eax, dword [ebp - 0x14]
call fcn.00434f2c
mov eax, dword [ebp - 0x14]
push eax
call sub.KERNEL32.dll_CloseHandle
call fcn.0043b828
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 8]
je 0x43e610
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x2c]
call fcn.0043b8a4
test byte [ebp + 8], 4
setne al
call fcn.0043bc84
mov eax, dword [ebp - 4]
cmp byte [eax + 0x37], 0
je 0x43e672
call sub.KERNEL32.dll_GetVersion
test eax, 0x80000000
jne 0x43e656
lea edx, [ebp - 0x124]
mov eax, dword [0x45fd34]
call fcn.0042fd38
mov eax, dword [ebp - 0x124]
lea ecx, [ebp - 0x120]
mov dl, 1
call fcn.0042fd6c
mov eax, dword [ebp - 0x120]
push eax
call sub.KERNEL32.dll_LoadLibraryW
jmp 0x43e672
lea edx, [ebp - 0x128]
mov eax, dword [0x45fd34]
call fcn.0042fd38
mov eax, dword [ebp - 0x128]
push eax
call sub.KERNEL32.dll_LoadLibraryA
xor eax, eax
push ebp
push 0x43e698
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x2c]
call fcn.0043b800
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x43e6a2
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x39], 1
xor eax, eax
mov dword [ebp - 0x34], eax
jmp 0x43e761
cmp dword [ebp - 0x14], 0
je 0x43e6c5
mov eax, dword [ebp - 0x14]
push eax
call sub.KERNEL32.dll_CloseHandle
mov eax, dword [ebp - 4]
cmp byte [eax + 0xc], 0
je 0x43e6db
push 0
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0043510c
jmp 0x43e6eb
push 0x8000
push 0
mov eax, dword [ebp - 0x2c]
push eax
call sub.KERNEL32.dll_VirtualFree
cmp dword [ebp - 0x34], 0
jne 0x43e6f8
mov dword [ebp - 0x34], 0x770002
call fcn.0042bff8
call fcn.0042bff8
call fcn.0042bff8
call fcn.0042bff8
jmp 0x43efc8
mov dword [ebp - 0x34], 0x770002
call fcn.0042bff8
call fcn.0042bff8
call fcn.0042bff8
call fcn.0042bff8
jmp 0x43efc8
mov dword [ebp - 0x34], 0x770002
call fcn.0042bff8
call fcn.0042bff8
call fcn.0042bff8
call fcn.0042bff8
jmp 0x43efc8
mov eax, dword [ebp - 0x1c]
cmp byte [eax + 5], 0x53
sete al
mov edx, dword [ebp - 4]
mov byte [edx + 0xc], al
mov eax, dword [ebp - 4]
cmp byte [eax + 0xc], 0
je 0x43e770
test byte [ebp + 8], 4
jne 0x43e774
xor eax, eax
jmp 0x43e776
mov al, 1
mov edx, dword [ebp - 4]
mov byte [edx + 0x20], al
test al, al
je 0x43e94e
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0x80000000
jae 0x43e8a1
mov eax, dword [ebp - 4]
add eax, 0x18
push eax
lea eax, [ebp - 0xa8]
push eax
test byte [ebp + 8], 8
setne cl
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
xor edx, edx
call fcn.0043536c
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
jne 0x43e7e5
mov dword [ebp - 0x34], 0x770003
call fcn.0042bff8
call fcn.0042bff8
call fcn.0042bff8
call fcn.0042bff8
jmp 0x43efc8
mov eax, dword [ebp - 0x88]
call fcn.0042d4ac
mov esi, eax
test esi, esi
jl 0x43e887
inc esi
xor ebx, ebx
mov eax, ebx
shl eax, 3
sub eax, ebx
mov edx, dword [ebp - 0x88]
lea ecx, [edx + eax*4]
cmp byte [ecx + 0x10], 0
jne 0x43e87f
cmp dword [ecx + 0x18], 0
je 0x43e87f
mov eax, dword [ecx + 0x18]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x14]
jne 0x43e87f
mov eax, dword [ecx + 0x18]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0xa0]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x20], 0
jne 0x43e86e
mov edx, 4
mov eax, dword [ebp - 0x44]
call fcn.004352d4
test al, al
je 0x43e87f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
add eax, dword [ebp - 0x9c]
mov edx, dword [ebp - 0x44]
mov dword [edx], eax
inc ebx
dec esi
jne 0x43e7fd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
add eax, dword [ebp - 0x9c]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x24]
mov dword [edx + 2], eax
jmp 0x43e94e
lea edx, [ebp - 0xa8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.0043397c
cmp byte [ebp - 0xa8], 0
jne 0x43e8db
mov dword [ebp - 0x34], 0x770003
call fcn.0042bff8
call fcn.0042bff8
call fcn.0042bff8
call fcn.0042bff8
jmp 0x43efc8
mov eax, dword [ebp - 0x88]
call fcn.0042d4ac
mov esi, eax
test esi, esi
jl 0x43e94e
inc esi
xor ebx, ebx
mov eax, ebx
shl eax, 3
sub eax, ebx
mov edx, dword [ebp - 0x88]
lea edi, [edx + eax*4]
cmp byte [edi + 0x10], 0
jne 0x43e94a
cmp dword [edi + 0x18], 0
je 0x43e94a
mov eax, dword [edi + 0x18]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x14]
jne 0x43e94a
mov eax, dword [ebp - 4]
cmp dword [eax + 0x18], 0
jne 0x43e93f
push 0
push 4
call fcn.00435024
mov edx, dword [ebp - 4]
mov dword [edx + 0x18], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x24]
mov dword [edx + 2], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
mov edx, dword [edi + 0x18]
mov dword [edx], eax
inc ebx
dec esi
jne 0x43e8ef
xor eax, eax
mov dword [ebp - 0x18], eax
xor ecx, ecx
push ebp
push 0x43ef02
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 5], 0
je 0x43eba1
mov eax, dword [ebp - 4]
cmp byte [eax + 0xc], 0
je 0x43e988
push 0
push 0x22
call fcn.00435024
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
jmp 0x43e9b8
call sub.KERNEL32.dll_GetVersion
test eax, 0x80000000
je 0x43e9a5
push 0x22
push 0x40
call sub.KERNEL32.dll_LocalAlloc
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
jmp 0x43e9b8
mov edx, dword [ebp - 0x30]
mov eax, 0x22
call fcn.0043b488
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov ebx, dword [ebp - 0x30]
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x3c]
lea edx, [ebp - 0x68]
mov eax, ebx
call fcn.0043270c
cmp byte [ebp - 0x61], 0
je 0x43ea3a
cmp dword [ebp - 0x54], 1
jne 0x43e9f9
cmp word [ebp - 0x66], 0xeb
je 0x43e9f1
mov byte [esi], 0xf
mov al, byte [ebp - 0x66]
and al, 0xf
add al, 0x80
mov byte [esi + 1], al
add esi, 6
jmp 0x43ea2c
mov byte [esi], 0xe9
add esi, 5
jmp 0x43ea2c
cmp dword [ebp - 0x54], 2
jne 0x43ea1a
mov edi, dword [ebp - 0x48]
sub edi, ebx
mov ecx, edi
sub ecx, 3
mov edx, esi
mov eax, ebx
inc eax
call fcn.0042b5ec
add edi, esi
inc edi
mov esi, edi
jmp 0x43ea2c
mov edi, dword [ebp - 0x48]
sub edi, ebx
mov edx, esi
mov eax, ebx
mov ecx, edi
call fcn.0042b5ec
add esi, edi
mov edx, dword [ebp - 0x60]
mov eax, esi
sub edx, eax
sub eax, 4
mov dword [eax], edx
jmp 0x43ea4c
mov edi, dword [ebp - 0x48]
sub edi, ebx
mov edx, esi
mov eax, ebx
mov ecx, edi
call fcn.0042b5ec
add esi, edi
mov ebx, dword [ebp - 0x48]
mov eax, ebx
sub eax, dword [ebp - 0x30]
cmp eax, 6
jb 0x43e9c1
mov byte [esi], 0xe9
add esi, 5
sub ebx, esi
sub esi, 4
mov dword [esi], ebx
push 4
lea edx, [ebp - 0x130]
mov eax, dword [0x45fd6c]
call fcn.0042fd38
push dword [ebp - 0x130]
push 0x43f044
push dword [ebp - 0x1c]
lea eax, [ebp - 0x12c]
mov edx, 3
call fcn.0042c83c
mov eax, dword [ebp - 0x12c]
call fcn.0042c97c
push eax
call fcn.0043aae8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x43ec58
mov eax, dword [ebp - 4]
cmp byte [eax + 0xc], 0
je 0x43eac9
mov eax, dword [ebp - 0x14]
call fcn.00434f2c
push 0
push 0
push 0
push 0xf001f
mov eax, dword [ebp - 0x14]
push eax
call sub.KERNEL32.dll_MapViewOfFile
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x43ec58
mov eax, dword [ebp - 4]
cmp byte [eax + 0xc], 0
je 0x43eb03
push 0
push 0x5c
call fcn.00435024
mov edx, dword [ebp - 0x18]
mov dword [edx], eax
jmp 0x43eb14
xor edx, edx
mov eax, 0x5c
call fcn.0043b488
mov edx, dword [ebp - 0x18]
mov dword [edx], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [eax], 2
mov dword [eax + 4], 8
mov edx, dword [ebp - 0x30]
mov dword [eax + 0xc], edx
mov edx, dword [eax + 0xc]
mov ecx, dword [edx]
mov dword [eax + 0x10], ecx
mov cx, word [edx + 4]
mov word [eax + 0x14], cx
mov byte [eax + 0x16], 0xff
mov byte [eax + 0x17], 0x25
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x3c]
add edx, 0x1e
mov dword [eax + 0x18], edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x3c]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x3c]
add ecx, 0x1e
mov dword [ecx], edx
mov edx, dword [ebp - 4]
cmp byte [edx + 0xc], 0
jne 0x43eb78
cmp byte [ebp - 0x39], 0
jne 0x43eb78
mov edx, dword [ebp - 0x14]
mov dword [eax + 8], edx
jmp 0x43eb7d
xor edx, edx
mov dword [eax + 8], edx
xor edx, edx
mov dword [eax + 0x1c], edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x3c]
add edx, 0x1e
mov dword [eax + 0x20], edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x3c]
mov dword [eax + 0x24], edx
xor edx, edx
mov dword [eax + 0x28], edx
jmp 0x43ec58
push 0
push 0
push 0
push 0xf001f
mov eax, dword [ebp - 0x14]
push eax
call sub.KERNEL32.dll_MapViewOfFile
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
mov eax, dword [esi]
mov eax, dword [esi + eax*8 + 0x14]
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov eax, dword [esi + 4]
cmp eax, dword [esi]
jne 0x43ec58
mov eax, dword [ebp - 4]
cmp byte [eax + 0xc], 0
je 0x43ebf4
push 0
mov eax, dword [esi + 4]
add eax, eax
shl eax, 3
add eax, 0x1c
push eax
call fcn.00435024
mov ebx, eax
jmp 0x43ec08
mov eax, dword [esi + 4]
add eax, eax
shl eax, 3
add eax, 0x1c
xor edx, edx
call fcn.0043b488
mov ebx, eax
mov ecx, dword [esi + 4]
shl ecx, 3
add ecx, 0x1c
mov edx, ebx
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
call fcn.0042b5ec
mov eax, dword [esi + 4]
add eax, eax
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18]
mov dword [eax], ebx
mov eax, dword [ebp - 4]
cmp byte [eax + 0xc], 0
je 0x43ec48
push 0
mov eax, dword [ebp - 0x28]
push eax
call fcn.0043510c
jmp 0x43ec58
push 0x8000
push 0
mov eax, dword [ebp - 0x28]
push eax
call sub.KERNEL32.dll_VirtualFree
mov eax, dword [ebp - 4]
cmp byte [eax + 0x20], 0
jne 0x43eddd
test byte [ebp + 8], 1
jne 0x43ed3b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
add eax, 0xa
add eax, dword [ebp - 0x38]
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
xor ebx, ebx
mov eax, ebx
shl eax, 3
sub eax, ebx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x28]
lea eax, [edx + eax*2]
mov byte [eax], 0x68
xor edx, edx
mov dword [eax + 1], edx
mov byte [eax + 5], pe_nt_image_headers32
mov word [eax + 6], 0x2583
lea edx, [eax + 1]
mov dword [eax + 8], edx
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0xc3
inc ebx
cmp ebx, 0x118
jne 0x43ec83
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
add eax, 0xa
mov ebx, eax
mov edx, ebx
mov eax, 0x43d4e4
mov ecx, dword [ebp - 0x38]
call fcn.0042b5ec
mov eax, dword [ebp - 0x38]
push eax
push 0
push 0
push SysReAllocString
mov esi, dword [0x46047c]
mov esi, dword [esi]
mov eax, 0x43f048
mov ecx, 4
mov edx, ebx
call esi
add eax, ebx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x28]
mov dword [eax], edx
mov eax, dword [ebp - 0x38]
push eax
push 0
push 0
push SysReAllocString
mov esi, dword [0x46047c]
mov esi, dword [esi]
mov eax, 0x43f050
mov ecx, 4
mov edx, ebx
call esi
add eax, ebx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
sub edx, ebx
sub edx, dword [ebp - 0x38]
mov dword [eax], edx
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], ebx
mov eax, dword [ebp - 4]
cmp byte [eax + 0xc], 0
je 0x43eddd
push 0
push 0x22
call fcn.00435024
mov edx, dword [ebp - 4]
mov dword [edx + 0x1c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov edi, eax
mov esi, 0x45ff38
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov eax, dword [0x4604a4]
mov eax, dword [eax]
mov dl, 1
call fcn.00433ac8
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x1c]
inc edx
add edx, 5
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x1c]
mov dword [edx + 2], eax
call sub.KERNEL32.dll_GetCurrentProcessId
mov edx, dword [ebp - 4]
mov ebx, dword [edx + 0x1c]
mov dword [ebx + 7], eax
lea eax, [ebx + 0x14]
mov dword [ebx + 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov dword [ebx + 0x14], eax
lea eax, [ebx + 0x1e]
mov dword [ebx + 0x1a], eax
lea eax, [ebx + 0x1e]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x24]
mov dword [edx + 2], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
push eax
call sub.KERNEL32.dll_GetCurrentProcessId
push eax
call sub.KERNEL32.dll_GetCurrentProcess
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 8]
pop edx
call fcn.0043d0bc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x14]
mov dword [edx], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [eax + 0xc]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x40], edx
mov edx, dword [ebp - 4]
mov ecx, dword [eax + 0x16]
mov dword [edx + 0x44], ecx
mov cx, word [eax + 0x1a]
mov word [edx + 0x48], cx
mov edx, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
mov dword [edx + 0x4a], ecx
mov cx, word [eax + 0x14]
mov word [edx + 0x4e], cx
mov edx, dword [eax]
mov ecx, dword [eax + edx*8 + 0x14]
mov dword [eax + edx*8 + 0x1c], ecx
mov ecx, dword [eax + edx*8 + 0x18]
mov dword [eax + edx*8 + 0x20], ecx
mov edx, dword [ebp - 4]
cmp byte [edx + 0xc], 0
je 0x43ee4d
mov edx, dword [ebp - 4]
cmp byte [edx + 0x20], 0
jne 0x43ee4d
mov edx, dword [eax]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x1c]
mov dword [eax + edx*8 + 0x14], ecx
jmp 0x43ee59
mov edx, dword [eax]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x10]
mov dword [eax + edx*8 + 0x14], ecx
mov edx, dword [eax]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x24]
mov ecx, dword [ecx + 2]
mov dword [eax + edx*8 + 0x18], ecx
mov edx, dword [eax]
mov ecx, dword [eax + edx*8 + 0x1c]
mov edx, dword [eax + edx*8 + 0x18]
mov dword [edx], ecx
mov edx, dword [eax]
mov ecx, dword [eax + edx*8 + 0x14]
mov edx, dword [eax + edx*8 + 0x10]
mov dword [edx], ecx
inc dword [eax]
mov eax, dword [ebp - 4]
mov byte [eax + 4], 1
mov eax, dword [ebp - 4]
cmp byte [eax + 5], 0
jne 0x43eedd
cmp byte [0x45fbe8], 0
jne 0x43eedd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
xor ecx, ecx
mov edx, 6
call fcn.00433f20
test al, al
jne 0x43eee5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
add edx, 0x4a
cmp eax, dword [edx]
jne 0x43eee5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
add eax, 4
mov ax, word [eax]
mov edx, dword [ebp - 4]
add edx, 0x4a
add edx, 4
cmp ax, word [edx]
jne 0x43eee5
mov eax, dword [ebp - 4]
call fcn.0043f764
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43ef09
cmp dword [ebp - 0x18], 0
je 0x43ef01
mov eax, dword [ebp - 0x18]
push eax
call sub.KERNEL32.dll_UnmapViewOfFile
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43f018
lea eax, [ebp - 0x130]
mov edx, 0x12
call fcn.0042c54c
lea eax, [ebp - 0xe8]
mov edx, dword [0x4311f8]
mov ecx, 2
call fcn.0042d084
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.0042c54c
lea eax, [ebp + 0x18]
call fcn.0042c528
ret