Function at 0x48e680
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x4ff1a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x501900]
push ebx
push esi
movzx esi, word [ebp + 8]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_FindResourceW]
push 0xf0
push esi
push eax
mov dword [ebp - 0x34], ecx
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_LoadResource]
xor ecx, ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x18], ecx
cmp eax, ecx
je 0x48e6d8
mov ecx, dword [0x501900]
push eax
push ecx
call ebx
test eax, eax
je 0x48e6d8
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x40], eax
mov edx, dword [0x501900]
push 5
push esi
push edx
call edi
test eax, eax
je 0x48ea1e
push eax
mov eax, dword [0x501900]
push eax
call ebx
test eax, eax
je 0x48ea16
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x48ea16
movzx ecx, word [eax + 2]
xor ebx, ebx
mov edx, 0xffff
cmp cx, dx
sete bl
cmp cx, dx
lea ecx, [eax + 0x10]
mov esi, ebx
mov dword [ebp - 0x28], esi
je 0x48e72d
lea ecx, [eax + 8]
movzx edi, word [ecx]
push eax
mov dword [ebp - 0x44], edi
call fcn.004813b0
add esp, 4
mov ebx, eax
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 4]
push 5
push ecx
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x2c], eax
xor edx, edx
xor eax, eax
mov dword [ebp - 0x38], edx
cmp ax, di
jae 0x48ea1e
test esi, esi
je 0x48e76c
mov ecx, dword [ebx + 0x14]
lea eax, [ebx + 0x18]
jmp 0x48e773
movzx ecx, word [ebx + 0x10]
lea eax, [ebx + 0x12]
cmp word [eax], 0x7b
jne 0x48e9b5
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x20]
push edx
push eax
push ecx
mov dword [ebp - 0x20], 0
call fcn.0048bff0
mov edi, eax
add esp, 0xc
mov dword [ebp - 0x1c], 0
test edi, edi
je 0x48e7ea
push edi
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x48e9f2
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x48e9e8
mov ecx, dword [ebp - 0x20]
push edi
push ecx
push edi
push eax
call fcn.00436d90
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea edx, [ebp - 0x1c]
push edx
push 1
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov esi, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x24]
push eax
push ecx
mov dword [ebp - 0x24], 0
call fcn.00481b20
add esp, 8
mov dword [ebp - 0x18], eax
test eax, eax
js 0x48e99a
mov dword [ebp - 0x30], 0
call fcn.0048a500
test esi, esi
je 0x48e828
movzx eax, word [ebx + 0xc]
lea edx, [ebx + 0x18]
mov dword [ebp - 0x20], edx
jmp 0x48e832
lea eax, [ebx + 0x12]
mov dword [ebp - 0x20], eax
movzx eax, word [ebx + 8]
movsx edx, ax
mov dword [ebp - 0x14], edx
test esi, esi
je 0x48e842
movzx eax, word [ebx + 0xe]
jmp 0x48e846
movzx eax, word [ebx + 0xa]
movsx ecx, ax
mov dword [ebp - 0x10], ecx
test esi, esi
je 0x48e856
movzx eax, word [ebx + 0x10]
jmp 0x48e85a
movzx eax, word [ebx + 0xc]
cwde
add eax, edx
mov dword [ebp - 0xc], eax
test esi, esi
je 0x48e86a
movzx eax, word [ebx + 0x12]
jmp 0x48e86e
movzx eax, word [ebx + 0xe]
movsx edx, ax
add edx, ecx
mov ecx, dword [ebp - 0x34]
lea eax, [ebp - 0x14]
mov dword [ebp - 8], edx
mov edx, dword [ecx + 4]
push eax
push edx
call dword [sym.imp.USER32.dll_MapDialogRect]
test esi, esi
je 0x48e896
mov esi, dword [ebx + 0x14]
mov edx, dword [ebx + 4]
mov eax, dword [ebx + 8]
jmp 0x48e89e
movzx esi, word [ebx + 0x10]
mov eax, dword [ebx]
xor edx, edx
push 0
push ecx
mov ecx, esp
push edx
mov edx, dword [ebp - 0x34]
or eax, 0x10000
push eax
push 0
push ecx
mov dword [ecx], esi
mov eax, esp
lea ecx, [ebp - 0x14]
mov dword [eax], ecx
mov eax, dword [edx + 4]
push eax
lea ecx, [ebp - 0x30]
call fcn.0048c100
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x48e98f
cmp dword [ebp - 0x28], 0
je 0x48e8e4
mov eax, dword [ebx]
test eax, eax
je 0x48e8e4
push eax
push esi
call dword [sym.imp.USER32.dll_SetWindowContextHelpId]
mov edi, dword [ebp - 0x1c]
lea ecx, [ebp - 0x18]
push ecx
push 0x4c0244
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x18], 0
call fcn.0048c560
mov edx, dword [ebp - 0x24]
push edx
push 0
push 0x4c0a70
test eax, eax
jns 0x48e921
mov eax, dword [ebp - 0x20]
push 0
push 0
push edi
push esi
push eax
call fcn.00489eb0
mov edi, eax
jmp 0x48e94e
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x3c]
push edx
mov edx, dword [ebp - 0x20]
push edi
push esi
mov dword [ebp - 0x3c], 0
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x28]
call eax
mov edi, eax
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x48e94e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x48e95d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, edi
mov dword [ebp - 0x18], eax
test eax, eax
js 0x48e9fb
cmp word [ebp - 0x38], 0
jne 0x48e975
xor eax, eax
jmp 0x48e978
mov eax, dword [ebp - 0x2c]
push 0x13
push 0
push 0
push 0
push 0
push eax
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
mov dword [ebp - 0x2c], esi
jmp 0x48e997
call fcn.00481e60
mov dword [ebp - 0x18], eax
mov esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x48e9c9
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x48e9c9
test dx, dx
je 0x48e9c9
mov eax, dword [ebp - 0x2c]
push 2
push eax
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x2c], eax
push esi
push ebx
call fcn.00481450
mov edx, dword [ebp - 0x38]
inc edx
add esp, 8
mov ebx, eax
mov dword [ebp - 0x38], edx
cmp dx, word [ebp - 0x44]
jb 0x48e760
jmp 0x48ea1e
call fcn.00481e60
mov dword [ebp - 0x18], eax
jmp 0x48ea05
mov dword [ebp - 0x18], 0x8007000e
jmp 0x48ea05
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x48ea1e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x48ea1e
call fcn.00481e60
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x18]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004911d1
mov esp, ebp
pop ebp
ret 4