Function at 0x43cf50
Capabilities:
Acquire debug privileges
Link many functions at runtime
Read file via mapping
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x29c
push ebx
push ebp
push esi
push edi
xor esi, esi
push str.ntdll.dll
mov dword [esp + 0x20], esi
mov dword [esp + 0x34], esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, esi
jne 0x43cf96
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.LoadLibrary__NTDLL.DLL___Error:_d_n
call fcn.00459e51
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x29c
ret
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NtQuerySystemInformation
push edi
call ebp
push str.RtlInitUnicodeString
push edi
mov ebx, eax
call ebp
push str.ZwOpenSection
push edi
mov esi, eax
call ebp
push str.InitializeObjectAttributes
push edi
mov dword [esp + 0x40], eax
call ebp
push str.ZwOpenFile
push edi
call ebp
mov edi, eax
lea eax, [esp + 0x54]
push str.DevicePhysicalMemory
push eax
call esi
xor eax, eax
lea edx, [esp + 0xa4]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], eax
push edx
lea eax, [esp + 0x20]
lea ecx, [esp + 0x58]
push 4
push eax
mov dword [esp + 0xb0], 0x18
mov dword [esp + 0xb8], ecx
call dword [esp + 0x44]
test eax, eax
jne 0x43de64
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ecx, dword [esp + 0x1c]
push 0x1000
push 0x30000
push 0
mov ebp, eax
push 4
push ecx
mov dword [esp + 0x54], ebp
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
lea edx, [esp + 0x98]
mov dword [esp + 0x3c], eax
xor eax, eax
push edx
push str.SeDebugPrivilege
push eax
mov dword [esp + 0xa0], 1
mov dword [esp + 0xac], 2
mov dword [esp + 0xa8], eax
mov dword [esp + 0xa4], eax
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
lea eax, [esp + 0x4c]
push eax
push 0x20
push ebp
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov edx, dword [esp + 0x4c]
xor ebp, ebp
push ebp
push ebp
lea ecx, [esp + 0x9c]
push 0x10
push ecx
push ebp
push edx
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov eax, dword [esp + 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x54]
push str.DeviceTcp
push ecx
call esi
lea edx, [esp + 0x54]
push ebp
lea eax, [esp + 0xf0]
push 3
lea ecx, [esp + 0x84]
mov dword [esp + 0x8c], edx
push eax
push ecx
lea edx, [esp + 0x6c]
push 0x100000
push edx
mov dword [esp + 0xa4], ebp
mov dword [esp + 0x94], 0x18
mov dword [esp + 0x98], ebp
mov dword [esp + 0xa0], 0x40
mov dword [esp + 0xa8], ebp
call edi
lea eax, [esp + 0x54]
push str.DeviceUdp
push eax
call esi
lea ecx, [esp + 0x54]
push ebp
lea edx, [esp + 0xf0]
push 3
lea eax, [esp + 0x84]
mov dword [esp + 0x8c], ecx
push edx
push eax
lea ecx, [esp + 0x58]
push 0x100000
push ecx
call edi
push 0x200000
call fcn.004599de
mov ebp, eax
push 0x800
mov dword [esp + 0x4c], ebp
call fcn.004599de
add esp, 8
lea edx, [esp + 0x60]
mov dword [esp + 0x78], eax
mov dword [esp + 0x60], 0x10
push edx
push 0x200000
push ebp
push 0x10
call ebx
test eax, eax
jne 0x43de5d
mov eax, dword [ebp]
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor edi, edi
mov dword [esp + 0x2c], eax
test eax, eax
lea esi, [ebp + 4]
jbe 0x43d1d7
call ebx
xor ecx, ecx
mov cx, word [esi]
cmp ecx, eax
jne 0x43d1c5
mov eax, dword [esp + 0x5c]
xor edx, edx
mov dx, word [esi + 6]
cmp edx, eax
je 0x43d1d3
mov eax, dword [esp + 0x2c]
add esi, 0x10
inc edi
cmp edi, eax
jb 0x43d1ac
jmp 0x43d1d7
mov dword [esp + 0x50], esi
mov eax, dword [esp + 0x2c]
xor edi, edi
test eax, eax
lea esi, [ebp + 4]
jbe 0x43d20d
mov ebp, eax
call ebx
xor ecx, ecx
mov cx, word [esi]
cmp ecx, eax
jne 0x43d1ff
mov eax, dword [esp + 0x48]
xor edx, edx
mov dx, word [esi + 6]
cmp edx, eax
je 0x43d209
add esi, 0x10
inc edi
cmp edi, ebp
jb 0x43d1e6
jmp 0x43d20d
mov dword [esp + 0x38], esi
mov ecx, 0x1c
xor eax, eax
lea edi, [esp + 0x1cc]
mov esi, dword [esp + 0x3c]
rep stosd dword es:[edi], eax
mov edx, dword [esp + 0x50]
mov ecx, 0x1c
lea edi, [esp + 0x23c]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x1cc]
push eax
push ecx
push esi
push edx
call fcn.0043de90
add esp, 0x10
test eax, eax
jne 0x43d268
push str.map_tcp_faile_n
call fcn.00459e51
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x29c
ret
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x38]
lea eax, [esp + 0x23c]
push eax
push ecx
push esi
push edx
call fcn.0043de90
add esp, 0x10
test eax, eax
jne 0x43d2a1
push str.map_udp_faile_n
call fcn.00459e51
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x29c
ret
xor esi, esi
push esi
push esi
push 1
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x44]
mov ebx, dword [esp + 0x2b0]
add eax, 4
mov ebp, eax
mov eax, dword [esp + 0x2c]
cmp eax, esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], esi
mov dword [esp + 0x10], ebp
jbe 0x43d82c
mov dword [esp + 0x34], eax
mov edx, dword [esp + 0x50]
mov ecx, 0x1c
xor eax, eax
lea edi, [esp + 0xf4]
rep stosd dword es:[edi], eax
mov cl, byte [ebp + 4]
mov al, byte [edx + 4]
cmp cl, al
jne 0x43d816
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0xf4]
push eax
push ecx
push edx
push ebp
call fcn.0043de90
add esp, 0x10
test eax, eax
je 0x43d816
mov al, byte [esp + 0xf8]
mov cl, byte [esp + 0x1d0]
cmp al, cl
jne 0x43d816
mov cl, byte [esp + 0xf9]
mov al, byte [esp + 0x1d1]
cmp cl, al
jne 0x43d816
mov dl, byte [esp + 0xfa]
mov al, byte [esp + 0x1d2]
cmp dl, al
jne 0x43d816
mov al, byte [esp + 0xfb]
mov cl, byte [esp + 0x1d3]
cmp al, cl
jne 0x43d816
mov al, byte [esp + 0x104]
cmp al, 1
je 0x43d396
cmp al, 2
jne 0x43d816
mov al, byte [esp + 0x105]
test al, al
jne 0x43d816
mov al, byte [esp + 0x106]
test al, al
jne 0x43d816
mov al, byte [esp + 0x107]
test al, al
jne 0x43d816
xor ecx, ecx
mov cx, word [ebp]
push ecx
push 0
push 0x40
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x43d816
mov eax, dword [esp + 0x40]
push 2
push 0
lea edx, [esp + 0x28]
xor ecx, ecx
push 0
mov cx, word [ebp + 6]
push edx
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 0x20]
test edx, edx
je 0x43d816
mov ecx, 0xc
xor eax, eax
lea edi, [esp + 0x164]
rep stosd dword es:[edi], eax
mov ecx, 0xe
lea edi, [esp + 0x194]
rep stosd dword es:[edi], eax
mov ecx, 6
lea edi, [esp + 0xbc]
rep stosd dword es:[edi], eax
mov ecx, 6
lea edi, [esp + 0xd4]
rep stosd dword es:[edi], eax
mov al, byte [esp + 0x104]
mov byte [esp + 0xcc], 4
cmp al, 2
mov byte [esp + 0xe4], 3
jne 0x43d4a2
lea eax, [esp + 0x64]
lea ecx, [esp + 0x30]
push eax
push ecx
lea eax, [esp + 0x19c]
push 0x38
push eax
lea ecx, [esp + 0xcc]
push 0x18
push ecx
push 0x210012
push edx
mov dword [esp + 0x50], 0
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x43d816
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x64]
lea ecx, [esp + 0x30]
push eax
push ecx
lea eax, [esp + 0x16c]
push 0x30
push eax
lea ecx, [esp + 0xe4]
push 0x18
push ecx
push 0x210012
push edx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x43d80b
movsx eax, byte [esp + 0x170]
test eax, eax
jge 0x43d4e5
add eax, 0x100
movsx ecx, byte [esp + 0x171]
shl eax, 8
test ecx, ecx
jge 0x43d4fd
lea eax, [eax + ecx + 0x100]
jmp 0x43d4ff
add eax, ecx
xor edx, edx
mov dword [esp + 0x14], eax
mov dx, word [ebp]
push eax
push edx
push str.TCP____PID:_d_______PORT:_d_n
call fcn.00459e51
mov ecx, dword [ebx + 0xc]
xor eax, eax
mov ax, word [ebp]
add esp, 0xc
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 8]
sub ecx, eax
mov esi, eax
sar ecx, 2
cmp ecx, 1
jae 0x43d600
mov edx, dword [ebx + 4]
test edx, edx
je 0x43d54b
mov ecx, eax
sub ecx, edx
sar ecx, 2
cmp ecx, 1
ja 0x43d550
mov ecx, 1
test edx, edx
jne 0x43d558
xor eax, eax
jmp 0x43d55d
sub eax, edx
sar eax, 2
add eax, ecx
test eax, eax
mov dword [esp + 0x28], eax
jge 0x43d569
xor eax, eax
lea edx, [eax*4]
push edx
call fcn.0046e679
mov ebx, eax
mov eax, dword [esp + 0x2b4]
add esp, 4
mov edi, ebx
mov ebp, dword [eax + 4]
cmp ebp, esi
je 0x43d59f
push ebp
push edi
call fcn.0043e8a0
add ebp, 4
add esp, 8
add edi, 4
cmp ebp, esi
jne 0x43d58b
mov ebp, dword [esp + 0x2b0]
lea ecx, [esp + 0x18]
push ecx
push 1
push edi
mov ecx, ebp
call fcn.0043e850
mov edx, dword [ebp + 8]
add edi, 4
push edi
push edx
push esi
mov ecx, ebp
call fcn.0043e820
mov eax, dword [ebp + 4]
push eax
mov dword [esp + 0x28], eax
call fcn.0046e6a2
mov eax, dword [esp + 0x2c]
add esp, 4
lea ecx, [ebx + eax*4]
mov dword [ebp + 0xc], ecx
mov ecx, ebp
call fcn.0043e880
lea edx, [ebx + eax*4 + 4]
mov dword [ebp + 4], ebx
mov ebx, dword [esp + 0x2b0]
mov dword [ebp + 8], edx
mov ebp, dword [esp + 0x10]
jmp 0x43d690
mov ecx, eax
sub ecx, esi
sar ecx, 2
cmp ecx, 1
jae 0x43d64e
lea ecx, [esi + 4]
push ecx
push eax
push esi
mov ecx, ebx
call fcn.0043e820
mov eax, dword [ebx + 8]
lea edx, [esp + 0x18]
mov ecx, eax
push edx
sub ecx, esi
mov edx, 1
sar ecx, 2
sub edx, ecx
mov ecx, ebx
push edx
push eax
call fcn.0043e850
mov eax, dword [ebx + 8]
cmp esi, eax
je 0x43d68c
mov ecx, dword [esp + 0x18]
mov dword [esi], ecx
add esi, 4
cmp esi, eax
jne 0x43d63f
jmp 0x43d68c
lea ecx, [eax - 4]
push eax
push eax
mov dword [esp + 0x2c], ecx
push ecx
mov ecx, ebx
call fcn.0043e820
mov ecx, dword [ebx + 8]
lea eax, [ecx - 4]
cmp esi, eax
je 0x43d678
mov edx, dword [eax - 4]
sub eax, 4
sub ecx, 4
cmp eax, esi
mov dword [ecx], edx
jne 0x43d669
lea eax, [esi + 4]
cmp esi, eax
je 0x43d68c
mov ecx, dword [esp + 0x18]
mov dword [esi], ecx
add esi, 4
cmp esi, eax
jne 0x43d67f
add dword [ebx + 8], 4
mov edi, dword [esp + 0x2b4]
mov eax, dword [edi + 8]
mov edx, dword [edi + 0xc]
sub edx, eax
mov esi, eax
sar edx, 2
cmp edx, 1
jae 0x43d77b
mov edx, dword [edi + 4]
test edx, edx
je 0x43d6c0
mov ecx, eax
sub ecx, edx
sar ecx, 2
cmp ecx, 1
ja 0x43d6c5
mov ecx, 1
test edx, edx
jne 0x43d6cd
xor eax, eax
jmp 0x43d6d2
sub eax, edx
sar eax, 2
add eax, ecx
test eax, eax
mov dword [esp + 0x28], eax
jge 0x43d6de
xor eax, eax
shl eax, 2
push eax
call fcn.0046e679
mov ecx, dword [esp + 0x2b8]
add esp, 4
mov ebx, eax
mov edi, dword [ecx + 4]
mov ebp, ebx
cmp edi, esi
je 0x43d710
push edi
push ebp
call fcn.0043e8a0
add edi, 4
add esp, 8
add ebp, 4
cmp edi, esi
jne 0x43d6fc
lea edx, [esp + 0x14]
push edx
push ebp
call fcn.0043e8a0
mov edi, dword [esp + 0x2bc]
add esp, 8
add ebp, 4
mov ecx, edi
mov eax, dword [edi + 8]
push ebp
push eax
push esi
call fcn.0043e820
mov ecx, dword [edi + 8]
mov edx, dword [edi + 4]
push ecx
push edx
mov ecx, edi
call fcn.00449a10
mov eax, dword [edi + 4]
push eax
call fcn.0046e6a2
mov ecx, dword [esp + 0x2c]
add esp, 4
lea edx, [ebx + ecx*4]
mov ecx, edi
mov dword [edi + 0xc], edx
call fcn.0043e880
mov ebp, dword [esp + 0x10]
lea eax, [ebx + eax*4 + 4]
mov dword [edi + 4], ebx
mov ebx, dword [esp + 0x2b0]
mov dword [edi + 8], eax
jmp 0x43d80b
mov ecx, eax
sub ecx, esi
sar ecx, 2
cmp ecx, 1
jae 0x43d7c9
lea ecx, [esi + 4]
push ecx
push eax
push esi
mov ecx, edi
call fcn.0043e820
mov eax, dword [edi + 8]
lea edx, [esp + 0x14]
mov ecx, eax
push edx
sub ecx, esi
mov edx, 1
sar ecx, 2
sub edx, ecx
mov ecx, edi
push edx
push eax
call fcn.0043e850
mov eax, dword [edi + 8]
cmp esi, eax
je 0x43d807
mov ecx, dword [esp + 0x14]
mov dword [esi], ecx
add esi, 4
cmp esi, eax
jne 0x43d7ba
jmp 0x43d807
lea ecx, [eax - 4]
push eax
push eax
mov dword [esp + 0x2c], ecx
push ecx
mov ecx, edi
call fcn.0043e820
mov ecx, dword [edi + 8]
lea eax, [ecx - 4]
cmp esi, eax
je 0x43d7f3
mov edx, dword [eax - 4]
sub eax, 4
sub ecx, 4
cmp eax, esi
mov dword [ecx], edx
jne 0x43d7e4
lea eax, [esi + 4]
cmp esi, eax
je 0x43d807
mov ecx, dword [esp + 0x14]
mov dword [esi], ecx
add esi, 4
cmp esi, eax
jne 0x43d7fa
add dword [edi + 8], 4
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x34]
add ebp, 0x10
dec eax
mov dword [esp + 0x10], ebp
mov dword [esp + 0x34], eax
jne 0x43d2e6
mov eax, dword [esp + 0x44]
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
add eax, 4
mov dword [esp + 0x34], 0
mov ebx, eax
mov eax, dword [esp + 0x2c]
test eax, eax
mov dword [esp + 0x10], ebx
jbe 0x43de08
mov edx, dword [esp + 0x38]
mov ecx, 0x1c
xor eax, eax
lea edi, [esp + 0xf4]
rep stosd dword es:[edi], eax
mov cl, byte [ebx + 4]
mov al, byte [edx + 4]
cmp cl, al
jne 0x43ddec
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0xf4]
push eax
push ecx
push edx
push ebx
call fcn.0043de90
add esp, 0x10
test eax, eax
je 0x43ddec
mov al, byte [esp + 0xf8]
mov cl, byte [esp + 0x240]
cmp al, cl
jne 0x43ddec
mov cl, byte [esp + 0xf9]
mov al, byte [esp + 0x241]
cmp cl, al
jne 0x43ddec
mov dl, byte [esp + 0xfa]
mov al, byte [esp + 0x242]
cmp dl, al
jne 0x43ddec
mov al, byte [esp + 0xfb]
mov cl, byte [esp + 0x243]
cmp al, cl
jne 0x43ddec
mov al, byte [esp + 0x104]
cmp al, 1
je 0x43d903
cmp al, 2
jne 0x43ddec
mov al, byte [esp + 0x105]
test al, al
jne 0x43ddec
mov al, byte [esp + 0x106]
test al, al
jne 0x43ddec
mov al, byte [esp + 0x107]
test al, al
jne 0x43ddec
xor ecx, ecx
mov cx, word [ebx]
push ecx
push 0
push 0x40
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x43ddec
mov eax, dword [esp + 0x40]
push 2
push 0
lea edx, [esp + 0x28]
xor ecx, ecx
push 0
mov cx, word [ebx + 6]
push edx
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push esi
call ebp
mov edx, dword [esp + 0x20]
test edx, edx
je 0x43ddec
mov ecx, 0xc
xor eax, eax
lea edi, [esp + 0x164]
rep stosd dword es:[edi], eax
mov ecx, 0xe
lea edi, [esp + 0x194]
rep stosd dword es:[edi], eax
mov ecx, 6
lea edi, [esp + 0xbc]
rep stosd dword es:[edi], eax
mov ecx, 6
lea edi, [esp + 0xd4]
rep stosd dword es:[edi], eax
mov al, byte [esp + 0x104]
mov byte [esp + 0xcc], 4
cmp al, 2
mov byte [esp + 0xe4], 3
jne 0x43da0a
lea eax, [esp + 0x64]
lea ecx, [esp + 0x30]
push eax
push ecx
lea eax, [esp + 0x19c]
push 0x38
push eax
lea ecx, [esp + 0xcc]
push 0x18
push ecx
push 0x210012
push edx
mov dword [esp + 0x50], 0
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x43ddec
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x64]
lea ecx, [esp + 0x30]
push eax
push ecx
lea eax, [esp + 0x16c]
push 0x30
push eax
lea ecx, [esp + 0xe4]
push 0x18
push ecx
push 0x210012
push edx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x43dddb
movsx eax, byte [esp + 0x170]
test eax, eax
jge 0x43da4d
add eax, 0x100
movsx ecx, byte [esp + 0x171]
shl eax, 8
test ecx, ecx
jge 0x43da65
lea eax, [eax + ecx + 0x100]
jmp 0x43da67
add eax, ecx
mov dword [esp + 0x14], eax
xor edx, edx
mov dx, word [ebx]
and eax, 0xffff
push eax
push edx
push str.UDP____PID:_d_____PORT:_d_n
call fcn.00459e51
mov edi, dword [esp + 0x2bc]
xor eax, eax
mov ax, word [ebx]
add esp, 0xc
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x18], eax
mov eax, dword [edi + 8]
sub ecx, eax
mov esi, eax
sar ecx, 2
cmp ecx, 1
jae 0x43db7f
mov edx, dword [edi + 4]
test edx, edx
je 0x43dabd
mov ecx, eax
sub ecx, edx
sar ecx, 2
cmp ecx, 1
ja 0x43dac2
mov ecx, 1
test edx, edx
jne 0x43daca
xor eax, eax
jmp 0x43dacf
sub eax, edx
sar eax, 2
add eax, ecx
test eax, eax
mov dword [esp + 0x28], eax
jge 0x43dadb
xor eax, eax
lea edx, [eax*4]
push edx
call fcn.0046e679
mov ebx, eax
mov eax, dword [esp + 0x2b4]
add esp, 4
mov ebp, ebx
mov edi, dword [eax + 4]
cmp edi, esi
je 0x43db11
push edi
push ebp
call fcn.0043e8a0
add edi, 4
add esp, 8
add ebp, 4
cmp edi, esi
jne 0x43dafd
lea ecx, [esp + 0x18]
push ecx
push ebp
call fcn.0043e8a0
mov edx, dword [esp + 0x2b8]
add esp, 8
add ebp, 4
mov edi, dword [edx + 8]
cmp esi, edi
je 0x43db44
push esi
push ebp
call fcn.0043e8a0
add esi, 4
add esp, 8
add ebp, 4
cmp esi, edi
jne 0x43db30
mov esi, dword [esp + 0x2b0]
mov eax, dword [esi + 4]
push eax
mov dword [esp + 0x28], eax
call fcn.0046e6a2
mov eax, dword [esp + 0x2c]
add esp, 4
lea ecx, [ebx + eax*4]
mov dword [esi + 0xc], ecx
mov ecx, esi
call fcn.0043e880
lea edx, [ebx + eax*4 + 4]
mov dword [esi + 4], ebx
mov ebx, dword [esp + 0x10]
mov dword [esi + 8], edx
jmp 0x43dc0f
mov ecx, eax
sub ecx, esi
sar ecx, 2
cmp ecx, 1
jae 0x43dbcd
lea ecx, [esi + 4]
push ecx
push eax
push esi
mov ecx, edi
call fcn.0043e820
mov eax, dword [edi + 8]
lea edx, [esp + 0x18]
mov ecx, eax
push edx
sub ecx, esi
mov edx, 1
sar ecx, 2
sub edx, ecx
mov ecx, edi
push edx
push eax
call fcn.0043e850
mov eax, dword [edi + 8]
cmp esi, eax
je 0x43dc0b
mov ecx, dword [esp + 0x18]
mov dword [esi], ecx
add esi, 4
cmp esi, eax
jne 0x43dbbe
jmp 0x43dc0b
lea ecx, [eax - 4]
push eax
push eax
mov dword [esp + 0x2c], ecx
push ecx
mov ecx, edi
call fcn.0043e820
mov ecx, dword [edi + 8]
lea eax, [ecx - 4]
cmp esi, eax
je 0x43dbf7
mov edx, dword [eax - 4]
sub eax, 4
sub ecx, 4
cmp eax, esi
mov dword [ecx], edx
jne 0x43dbe8
lea eax, [esi + 4]
cmp esi, eax
je 0x43dc0b
mov ecx, dword [esp + 0x18]
mov dword [esi], ecx
add esi, 4
cmp esi, eax
jne 0x43dbfe
add dword [edi + 8], 4
mov ebp, dword [esp + 0x2b4]
mov edi, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
sub edx, edi
mov esi, edi
sar edx, 2
cmp edx, 1
jae 0x43dd1a
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x43dc3f
mov eax, edi
sub eax, ecx
sar eax, 2
cmp eax, 1
ja 0x43dc44
mov eax, 1
test ecx, ecx
jne 0x43dc4c
xor edi, edi
jmp 0x43dc51
sub edi, ecx
sar edi, 2
add eax, edi
test eax, eax
mov dword [esp + 0x28], eax
jge 0x43dc5d
xor eax, eax
shl eax, 2
push eax
call fcn.0046e679
mov ecx, dword [esp + 0x2b8]
add esp, 4
mov ebx, eax
mov edi, dword [ecx + 4]
mov ebp, ebx
cmp edi, esi
je 0x43dc8f
push edi
push ebp
call fcn.0043e8a0
add edi, 4
add esp, 8
add ebp, 4
cmp edi, esi
jne 0x43dc7b
lea edx, [esp + 0x14]
push edx
push ebp
call fcn.0043e8a0
mov eax, dword [esp + 0x2bc]
add esp, 8
add ebp, 4
mov edi, dword [eax + 8]
cmp esi, edi
je 0x43dcc2
push esi
push ebp
call fcn.0043e8a0
add esi, 4
add esp, 8
add ebp, 4
cmp esi, edi
jne 0x43dcae
mov esi, dword [esp + 0x2b4]
mov eax, dword [esi + 4]
push eax
mov dword [esp + 0x28], eax
call fcn.0046e6a2
mov ecx, dword [esp + 0x2c]
add esp, 4
lea edx, [ebx + ecx*4]
mov ecx, dword [esi + 4]
test ecx, ecx
mov dword [esi + 0xc], edx
jne 0x43dcff
xor eax, eax
mov dword [esi + 4], ebx
lea eax, [ebx + eax*4 + 4]
mov ebx, dword [esp + 0x10]
mov dword [esi + 8], eax
jmp 0x43dddb
mov eax, dword [esi + 8]
mov dword [esi + 4], ebx
sub eax, ecx
sar eax, 2
lea eax, [ebx + eax*4 + 4]
mov ebx, dword [esp + 0x10]
mov dword [esi + 8], eax
jmp 0x43dddb
mov eax, edi
sub eax, esi
sar eax, 2
cmp eax, 1
jae 0x43dd99
lea ecx, [esi + 4]
cmp esi, edi
mov dword [esp + 0x24], ecx
mov eax, esi
je 0x43dd46
lea ebp, [eax + 4]
push eax
push ebp
call fcn.0043e8a0
mov eax, ebp
add esp, 8
cmp eax, edi
jne 0x43dd33
mov edx, dword [esp + 0x2b4]
mov eax, 1
mov ecx, dword [edx + 8]
mov edx, ecx
mov edi, ecx
sub edx, esi
sar edx, 2
sub eax, edx
je 0x43dd78
mov ebp, eax
lea eax, [esp + 0x14]
push eax
push edi
call fcn.0043e8a0
add esp, 8
add edi, 4
dec ebp
jne 0x43dd64
mov ecx, dword [esp + 0x2b4]
mov eax, dword [ecx + 8]
cmp esi, eax
je 0x43dd93
mov edx, dword [esp + 0x14]
mov dword [esi], edx
add esi, 4
cmp esi, eax
jne 0x43dd86
add dword [ecx + 8], 4
jmp 0x43dddb
lea eax, [edi - 4]
push edi
push edi
push eax
mov ecx, ebp
mov dword [esp + 0x30], eax
call fcn.0043e820
mov ecx, dword [ebp + 8]
lea eax, [ecx - 4]
cmp esi, eax
je 0x43ddc3
mov edx, dword [eax - 4]
sub eax, 4
sub ecx, 4
cmp eax, esi
mov dword [ecx], edx
jne 0x43ddb4
lea eax, [esi + 4]
cmp esi, eax
je 0x43ddd7
mov ecx, dword [esp + 0x14]
mov dword [esi], ecx
add esi, 4
cmp esi, eax
jne 0x43ddca
add dword [ebp + 8], 4
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
add ebx, 0x10
inc eax
cmp eax, ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x34], eax
jb 0x43d853
mov eax, dword [esp + 0x74]
push eax
call ebp
mov ecx, dword [esp + 0x44]
push ecx
call fcn.00459a6a
mov edx, dword [esp + 0x7c]
push edx
call fcn.00459a6a
mov eax, dword [esp + 0x24]
add esp, 8
push eax
call ebp
mov ecx, dword [esp + 0x40]
push ecx
call ebp
mov edx, dword [esp + 0x5c]
push edx
call ebp
mov eax, dword [esp + 0x48]
push eax
call ebp
mov ecx, dword [esp + 0x3c]
push ecx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x29c
ret
push str.error_open_handlelist_n
jmp 0x43de69
push str.error_open_physcalmemory_n
call fcn.00459e51
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x29c
ret