Function at 0x427225
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x270
mov eax, 0x495f8e
call fcn.00479e3f
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 8
mov esi, ecx
mov dword [ebp - 0x7c], esi
mov edi, edx
jb 0x427249
mov eax, dword [eax + 4]
jmp 0x42724c
add eax, 4
push 0x49fc90
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
xor ebx, ebx
cmp eax, ebx
jne 0x42726c
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor al, al
jmp 0x42757d
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
cmp edi, ebx
je 0x427265
lea ecx, [ebp - 0xfc]
call fcn.004693e0
push ebx
push ebx
push edi
lea ecx, [ebp - 0xfc]
mov dword [ebp - 4], ebx
call fcn.0046b2b0
test eax, eax
je 0x42756c
cmp dword [esi + 0x20], 8
jb 0x4272a9
mov eax, dword [esi + 0xc]
jmp 0x4272ac
lea eax, [esi + 0xc]
push eax
call fcn.0041e98a
add esp, 4
lea ecx, [ebp - 0xfc]
call fcn.004688e0
push str.__pingData_pings
push eax
lea ecx, [ebp - 0x27c]
call fcn.004646e0
lea ecx, [ebp - 0x27c]
mov byte [ebp - 4], 1
mov dword [ebp - 0x70], ebx
call fcn.00467e20
test eax, eax
jbe 0x427547
push str.ping
push dword [ebp - 0x70]
lea ecx, [ebp - 0x27c]
call fcn.00463a60
push eax
lea ecx, [ebp - 0x17c]
call fcn.004646e0
lea ecx, [ebp - 0x17c]
mov byte [ebp - 4], 2
call fcn.00467e20
lea ecx, [ebp - 0x17c]
mov dword [ebp - 0x74], ebx
call fcn.00467e20
test eax, eax
jbe 0x427521
push dword [ebp - 0x74]
lea ecx, [ebp - 0x17c]
call fcn.00463a60
mov edi, eax
cmp edi, ebx
je 0x42750a
push 7
pop esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], bx
push 0x49fc70
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 3
call fcn.00401a8f
lea eax, [ebp - 0x30]
push eax
lea edx, [ebp - 0x98]
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.0040350a
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 3
call fcn.00401e14
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x42739c
lea eax, [ebp - 0x2c]
push eax
call fcn.0041e98a
mov dword [esp], str.param
push edi
lea ecx, [ebp - 0x1fc]
call fcn.004646e0
lea ecx, [ebp - 0x1fc]
mov byte [ebp - 4], 5
mov dword [ebp - 0x78], ebx
call fcn.00467e20
test eax, eax
jbe 0x4274e9
push dword [ebp - 0x78]
lea ecx, [ebp - 0x1fc]
call fcn.00463a60
mov edi, eax
cmp edi, ebx
je 0x4274d2
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], bx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], bx
push str.name
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 6
call fcn.00401a8f
lea eax, [ebp - 0x68]
push eax
lea edx, [ebp - 0x98]
mov ecx, edi
mov byte [ebp - 4], 7
call fcn.0040350a
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x98]
mov byte [ebp - 0x69], al
mov byte [ebp - 4], 6
call fcn.00401e14
cmp byte [ebp - 0x69], bl
je 0x4274c3
push str.value
lea ecx, [ebp - 0xb4]
call fcn.00401a8f
lea eax, [ebp - 0x4c]
push eax
lea edx, [ebp - 0xb4]
mov ecx, edi
mov byte [ebp - 4], 8
call fcn.0040350a
pop ecx
push ebx
push 1
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 6
call fcn.00401e14
cmp dword [ebp - 0x38], ebx
jne 0x427487
mov ecx, str._runtime_
jmp 0x427493
cmp dword [ebp - 0x34], 8
mov ecx, dword [ebp - 0x48]
jae 0x427493
lea ecx, [ebp - 0x48]
cmp dword [ebp - 0x50], 8
mov eax, dword [ebp - 0x64]
jae 0x42749f
lea eax, [ebp - 0x64]
push ecx
push eax
call fcn.0041e98a
mov ecx, dword [ebp - 0x7c]
add esp, 8
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x30]
push eax
add ecx, 0x40
call fcn.004279cf
mov esi, eax
call fcn.00404337
lea edi, [ebp - 0x68]
mov byte [ebp - 4], 5
call fcn.0045776d
push 7
pop esi
inc dword [ebp - 0x78]
lea ecx, [ebp - 0x1fc]
call fcn.00467e20
cmp dword [ebp - 0x78], eax
jb 0x4273cf
lea ecx, [ebp - 0x1fc]
mov byte [ebp - 4], 3
call fcn.00403347
push ebx
push 1
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.004012a8
mov esi, dword [ebp - 0x7c]
inc dword [ebp - 0x74]
lea ecx, [ebp - 0x17c]
call fcn.00467e20
cmp dword [ebp - 0x74], eax
jb 0x42732f
lea ecx, [ebp - 0x17c]
mov byte [ebp - 4], 1
call fcn.00403347
inc dword [ebp - 0x70]
lea ecx, [ebp - 0x27c]
call fcn.00467e20
cmp dword [ebp - 0x70], eax
jb 0x4272eb
cmp dword [esi + 0x20], 8
jb 0x427552
mov esi, dword [esi + 0xc]
jmp 0x427555
add esi, 0xc
push esi
call fcn.0041e98a
add esp, 4
lea ecx, [ebp - 0x27c]
mov byte [ebp - 4], bl
call fcn.00403347
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xfc]
call fcn.0040326a
mov al, 1
call fcn.00479ec2
ret 4