Function at 0x445940
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x487a40
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x4b0014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3c], ecx
movzx ebx, word [ebp + 8]
push 0xf0
push ebx
push dword [0x4b3790]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, dword [sym.imp.KERNEL32.dll_LockResource]
xor ecx, ecx
mov edi, dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x30], ecx
test eax, eax
je 0x4459af
push eax
push dword [0x4b3790]
call edi
test eax, eax
je 0x4459af
push eax
call esi
mov dword [ebp - 0x40], eax
push 5
push ebx
push dword [0x4b3790]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x445ddf
push eax
push dword [0x4b3790]
call edi
test eax, eax
je 0x445dd6
push eax
call esi
mov edx, eax
test edx, edx
je 0x445dd6
movzx ecx, word [edx + 2]
mov ebx, 0xffff
mov eax, ecx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x4c], eax
xor eax, eax
cmp cx, bx
mov ecx, edx
sete al
lea eax, [eax*8 + 8]
movzx eax, word [eax + edx]
mov dword [ebp - 0x44], eax
call fcn.00423050
mov esi, dword [sym.imp.USER32.dll_GetWindow]
mov ebx, eax
mov eax, dword [ebp - 0x3c]
push 5
push dword [eax + 4]
call esi
mov edi, eax
xor edx, edx
xor eax, eax
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], edx
cmp ax, word [ebp - 0x44]
jae 0x445ddf
mov dword [ebp - 0x50], 0x18
mov eax, 0xffff
cmp word [ebp - 0x48], ax
jne 0x445a75
mov ecx, dword [ebx + 0x14]
mov dword [ebp - 0x18], ecx
jmp 0x445a7c
movzx eax, word [ebx + 0x10]
mov dword [ebp - 0x18], eax
mov ecx, 0xffff
mov eax, 0x12
cmp word [ebp - 0x4c], cx
cmove eax, dword [ebp - 0x50]
cmp word [eax + ebx], 0x7b
jne 0x445d1d
mov ecx, dword [ebp - 0x40]
mov eax, ecx
mov dword [ebp - 0x30], 0
test ecx, ecx
je 0x445acd
nop dword [eax]
movzx ecx, word [eax]
lea edi, [eax + 2]
movzx esi, word [eax + 2]
mov edx, dword [eax + 4]
add eax, 8
cmp ecx, dword [ebp - 0x18]
je 0x445b83
add eax, edx
jne 0x445ab0
xor esi, esi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], ecx
test esi, esi
je 0x445b34
push esi
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x445d9e
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x445d81
push esi
push dword [ebp - 0x30]
mov edx, esi
mov ecx, eax
call fcn.0041fe80
push eax
call fcn.00420000
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [ebp - 0x14]
push eax
push 1
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov edi, eax
test edi, edi
js 0x445dc0
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], 0
lea edx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.00423350
mov esi, dword [ebp - 0x18]
mov ecx, eax
mov dword [ebp - 0x30], ecx
test ecx, ecx
js 0x445cce
call fcn.00427ec0
mov edi, 0xffff
mov eax, 0x12
cmp word [ebp - 0x54], di
mov ecx, 0x18
cmove eax, ecx
add eax, ebx
mov dword [ebp - 0x78], eax
cmp word [ebp - 0x58], di
jne 0x445b9c
movzx eax, word [ebx + 0xc]
jmp 0x445ba0
mov eax, 0x378
cmp si, ax
je 0x445acd
mov dword [ebp - 0x30], edi
lea esi, [edx + 6]
jmp 0x445acf
movzx eax, word [ebx + 8]
movsx ecx, ax
mov dword [ebp - 0x2c], ecx
cmp word [ebp - 0x5c], di
jne 0x445bb2
movzx eax, word [ebx + 0xe]
jmp 0x445bb6
movzx eax, word [ebx + 0xa]
movsx edx, ax
mov dword [ebp - 0x28], edx
cmp word [ebp - 0x60], di
jne 0x445bc8
movzx eax, word [ebx + 0x10]
jmp 0x445bcc
movzx eax, word [ebx + 0xc]
cwde
add eax, ecx
mov dword [ebp - 0x24], eax
cmp word [ebp - 0x64], di
jne 0x445bde
movzx eax, word [ebx + 0x12]
jmp 0x445be2
movzx eax, word [ebx + 0xe]
cwde
add eax, edx
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x3c]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_MapDialogRect]
cmp word [ebp - 0x68], di
jne 0x445c03
mov ecx, dword [ebx + 0x14]
jmp 0x445c07
movzx ecx, word [ebx + 0x10]
cmp word [ebp - 0x6c], di
jne 0x445c15
mov eax, dword [ebx + 4]
mov dword [ebp - 0x30], eax
jmp 0x445c1c
mov dword [ebp - 0x30], 0
cmp word [ebp - 0x70], di
lea edi, [ebx + 8]
je 0x445c27
mov edi, ebx
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x28]
mov edi, dword [edi]
push 0
push dword [0x4b378c]
or edi, 0x10000
push ecx
push dword [eax + 4]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x2c]
sub eax, edx
push eax
mov eax, dword [ebp - 0x24]
sub eax, ecx
push eax
push edx
push ecx
push edi
push 0
push str.AtlAxWinLic140
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x445cc6
mov ecx, 0xffff
cmp word [ebp - 0x74], cx
jne 0x445c83
mov ecx, dword [ebx]
test ecx, ecx
je 0x445c83
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowContextHelpId]
push esi
sub esp, 0x10
lea ecx, [ebp - 0x1c]
push dword [ebp - 0x14]
push dword [ebp - 0x78]
call fcn.00445fe0
mov edi, eax
mov dword [ebp - 0x30], edi
test edi, edi
js 0x445db9
mov edi, dword [ebp - 0x1c]
xor eax, eax
cmp word [ebp - 0x38], ax
push 0x13
cmovne eax, dword [ebp - 0x34]
push 0
push 0
push 0
push 0
push eax
push edi
mov dword [ebp - 0x34], edi
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x445cd1
call fcn.00420210
mov dword [ebp - 0x30], eax
mov edi, dword [ebp - 0x34]
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x445cec
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [sym.imp.USER32.dll_GetWindow]
mov edx, dword [ebp - 0x38]
mov ecx, 0xffff
cmp word [ebp - 0x7c], cx
mov eax, 0x12
mov ecx, 0x18
cmove eax, ecx
lea ecx, [eax + ebx]
mov ebx, 0xffff
cmp word [ecx], bx
jne 0x445d30
add ecx, 4
jmp 0x445d3b
test dx, dx
je 0x445cfa
push 2
push edi
call esi
mov edi, eax
mov dword [ebp - 0x34], edi
jmp 0x445cf2
movzx eax, word [ecx]
add ecx, 2
test ax, ax
jne 0x445d30
cmp word [ecx], bx
jne 0x445d45
add ecx, 4
jmp 0x445d50
movzx eax, word [ecx]
add ecx, 2
test ax, ax
jne 0x445d45
movzx eax, word [ecx]
test ax, ax
je 0x445d63
cmp word [ebp - 0x80], bx
je 0x445d63
add eax, 0xfffe
movzx eax, ax
lea ebx, [ecx + 5]
add ebx, eax
inc edx
and ebx, 0xfffffffc
mov dword [ebp - 0x38], edx
cmp dx, word [ebp - 0x44]
jb 0x445a62
mov edi, dword [ebp - 0x30]
jmp 0x445de1
call fcn.00420210
mov edi, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x445de1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x445de1
mov dword [ebp - 4], 0xffffffff
mov edi, 0x8007000e
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x445de1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x445de1
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x445de1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x445de1
call fcn.00420210
mov edi, eax
jmp 0x445de1
xor edi, edi
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045d27f
mov esp, ebp
pop ebp
ret 4