Function at 0x48c420
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x4c
mov dword [ebp - 0x44], ecx
movzx esi, word [ebp + 8]
mov eax, dword [0x808040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push 0xf0
push esi
push dword [0x80d5b0]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, 0
test eax, eax
je 0x48c46f
push eax
push dword [0x80d5b0]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x48c46f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push 5
push esi
push dword [0x80d5b0]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x48c591
push eax
push dword [0x80d5b0]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x48c904
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x48c904
mov dword [ebp - 0x34], 0
movzx esi, word [eax + 2]
lea ecx, [eax + 0xc]
xor edx, edx
mov word [ebp - 0x2e], si
cmp si, 0xffff
sete dl
movzx esi, word [eax + edx*8 + 0x12]
lea edi, [eax + edx*8 + 0x12]
cmovne ecx, eax
cmp si, 0xffff
je 0x48c4ec
add edi, 2
test si, si
je 0x48c4ef
lea esi, [edi + 2]
cmp word [edi], 0
mov edi, esi
jne 0x48c4df
jmp 0x48c4f1
add edi, 4
mov esi, edi
movzx edi, word [esi]
cmp di, 0xffff
mov dword [ebp - 0x54], ebx
je 0x48c516
add esi, 2
test di, di
je 0x48c519
movzx edi, word [ebp - 0x2e]
lea ebx, [esi + 2]
cmp word [esi], 0
mov esi, ebx
jne 0x48c509
jmp 0x48c51f
add esi, 4
mov ebx, esi
movzx edi, word [ebp - 0x2e]
movzx esi, word [eax + edx*8 + 8]
mov eax, dword [ecx]
cmp word [ebx], 0
lea ebx, [ebx + 2]
jne 0x48c526
test al, 0x40
je 0x48c54d
xor eax, eax
cmp di, 0xffff
sete al
lea eax, [ebx + eax*4]
add eax, 2
lea ebx, [eax + 2]
cmp word [eax], 0
mov eax, ebx
jne 0x48c542
push 5
mov eax, dword [ebp - 0x44]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x3c], eax
test si, si
je 0x48c598
add ebx, 3
cmp di, 0xffff
mov eax, 0x18
mov ecx, 0x12
cmove ecx, eax
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x40], 0
mov word [ebp - 0x46], si
jmp 0x48c690
mov dword [ebp - 0x34], 0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c6b46
mov eax, dword [ebp - 0x34]
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov dword [ebp - 0x38], 0
call fcn.005ff060
mov dword [ebp - 0x34], eax
jmp 0x48c5e8
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], eax
jmp 0x48c5cf
mov dword [ebp - 0x34], 0x8007000e
movzx edi, word [ebp - 0x2e]
jmp 0x48c5f5
mov dword [ebp - 0x38], 2
jmp 0x48c5ec
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], 0
movzx edi, word [ebp - 0x2e]
push dword [ebp - 0x18]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x48c60a
mov eax, dword [esi]
mov ecx, dword [eax + 8]
call dword [0x8010bc]
push esi
call ecx
cmp dword [ebp - 0x38], 0
movzx esi, word [ebp - 0x46]
jne 0x48c598
mov eax, dword [ebp - 0x58]
movzx ecx, word [ebx + eax]
add ebx, eax
cmp cx, 0xffff
je 0x48c63a
add ebx, 2
mov eax, ebx
test cx, cx
je 0x48c63f
lea eax, [ebx + 2]
cmp word [ebx], 0
mov ebx, eax
jne 0x48c62d
jmp 0x48c63f
add ebx, 4
mov eax, ebx
movzx edx, word [eax]
cmp dx, 0xffff
je 0x48c65f
add eax, 2
mov ecx, eax
test dx, dx
je 0x48c664
lea ecx, [eax + 2]
cmp word [eax], 0
mov eax, ecx
jne 0x48c652
jmp 0x48c664
add eax, 4
mov ecx, eax
movzx eax, word [ecx]
lea edx, [eax - 2]
test ax, ax
cmove edx, eax
cmp di, 0xffff
cmove edx, eax
movzx eax, dx
lea ebx, [ecx + eax]
add ebx, 5
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp ax, si
je 0x48c598
and ebx, 0xfffffffc
cmp di, 0xffff
je 0x48c6c7
movzx eax, word [ebx + 0x10]
mov ecx, 0x12
cmp word [ebx + ecx], 0x7b
je 0x48c6e5
cmp word [ebp - 0x40], 0
je 0x48c614
push 2
push dword [ebp - 0x3c]
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x3c], eax
jmp 0x48c614
mov eax, dword [ebx + 0x14]
mov ecx, 0x18
jmp 0x48c6a2
lea eax, [ebx + 8]
mov ecx, dword [ebx + 4]
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebx + 0x14]
mov dword [ebp - 0x34], ecx
jmp 0x48c7a4
mov ecx, dword [ebp - 0x54]
mov esi, ecx
test ecx, ecx
je 0x48c703
movzx ecx, word [esi]
mov edi, dword [esi + 4]
cmp eax, ecx
je 0x48c877
add esi, edi
add esi, 8
jne 0x48c6ee
mov dword [ebp - 0x14], 0
xor eax, eax
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x18]
push ecx
push eax
call fcn.0048cef0
add esp, 8
test eax, eax
js 0x48c5de
xor eax, eax
cmp word [ebp - 0x2e], 0xffff
sete al
mov esi, eax
mov dword [ebp - 0x1c], 0
call fcn.0048d120
pcmpeqd xmm0, xmm0
movdqu xmmword [ebp - 0x2c], xmm0
movsx eax, word [ebx + esi*4 + 8]
mov dword [ebp - 0x2c], eax
movsx ecx, word [ebx + esi*4 + 0xa]
mov dword [ebp - 0x28], ecx
movsx edx, word [ebx + esi*4 + 0xc]
add edx, eax
mov dword [ebp - 0x24], edx
movsx eax, word [ebx + esi*4 + 0xe]
add eax, ecx
lea edi, [ebx + 0x18]
mov dword [ebp - 0x20], eax
lea esi, [ebx + 0x12]
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x44]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_MapDialogRect]
cmp word [ebp - 0x2e], 0xffff
cmove esi, edi
mov dword [ebp - 0x4c], esi
je 0x48c6d1
movzx eax, word [ebx + 0x10]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], 0
mov eax, ebx
mov edx, dword [eax]
mov eax, 0x10000
or edx, eax
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp - 0x2c]
mov dword [ebp - 0x50], edi
mov eax, dword [ebp - 0x28]
sub esi, eax
mov ecx, dword [ebp - 0x24]
sub ecx, edi
xor edi, edi
push edi
push dword [0x80d5ac]
push dword [ebp - 0x34]
mov edi, dword [ebp - 0x44]
push dword [edi + 4]
push esi
push ecx
push eax
push dword [ebp - 0x50]
push edx
xor eax, eax
push eax
push str.AtlAxWinLic140
push dword [ebp - 0x38]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x48c5af
movzx edi, word [ebp - 0x2e]
cmp di, 0xffff
jne 0x48c80d
mov ecx, dword [ebx]
test ecx, ecx
je 0x48c80d
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowContextHelpId]
lea ecx, [ebp - 0x1c]
push dword [ebp - 0x18]
xor eax, eax
push eax
push 0x767020
push eax
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x4c]
call fcn.00493b50
mov dword [ebp - 0x34], eax
test eax, eax
js 0x48c5d5
xor eax, eax
cmp word [ebp - 0x40], 0
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x38], 0
cmove ecx, eax
mov eax, dword [ebp - 0x1c]
sub esp, 0x1c
pxor xmm0, xmm0
movdqu xmmword [esp + 8], xmm0
mov dword [esp + 4], ecx
mov dword [esp], eax
mov dword [esp + 0x18], 0x13
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x3c], eax
jmp 0x48c5ec
cmp word [esi + 2], 0x378
sete cl
add edi, 6
mov dword [ebp - 0x14], 0
sete dl
xor eax, eax
or dl, cl
jne 0x48c70c
push edi
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x38], 2
test eax, eax
je 0x48c5c8
mov dword [ebp - 0x34], eax
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x48c8fa
add esi, 2
je 0x48c91c
push edi
push esi
push eax
call fcn.005c9580
add esp, 0xc
mov esi, dword [ebp - 0x34]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [ebp - 0x14]
push eax
push 1
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov ecx, eax
shr ecx, 0x1e
and ecx, 2
jne 0x48c5c0
mov eax, dword [ebp - 0x14]
jmp 0x48c70c
call fcn.005ff060
jmp 0x48c5c3
call fcn.005ff060
mov esi, eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c6b46
mov eax, esi
jmp 0x48c5a5
push edi
push 0
push eax
call fcn.005c9b00
add esp, 0xc
call fcn.005d77e4
mov dword [eax], 0x16
call fcn.005d9aba
push 0x80070057
call fcn.0063c600
int3