Function at 0x5743d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x5c
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x580d50
mov dword [ebp - 0x44], ecx
movzx edi, word [ebp + 8]
lea eax, [ebp - 0x18]
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
push 0xf0
push edi
push dword [0x6d3380]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
xor esi, esi
test eax, eax
mov ebx, 0
je 0x574440
push eax
push dword [0x6d3380]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov ebx, 0
je 0x574440
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push 5
push edi
push dword [0x6d3380]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x5748f4
push eax
push dword [0x6d3380]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x5744bd
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x5744bd
movzx edi, word [eax + 2]
xor ecx, ecx
lea esi, [eax + 0xc]
cmp di, 0xffff
sete cl
cmovne esi, eax
movzx edx, word [eax + ecx*8 + 8]
mov word [ebp - 0x4e], dx
movzx edx, word [eax + ecx*8 + 0x12]
lea ecx, [eax + ecx*8 + 0x12]
mov eax, dword [esi]
cmp dx, 0xffff
je 0x5744d1
add ecx, 2
test dx, dx
je 0x5744d4
mov edx, ecx
nop word [eax + eax]
cmp word [edx], 0
lea ecx, [edx + 2]
mov edx, ecx
jne 0x5744b0
jmp 0x5744d4
call fcn.005ef770
mov ecx, dword [ebp - 0x18]
mov dword fs:[0], ecx
jmp 0x5748ff
add ecx, 4
movzx edx, word [ecx]
cmp dx, 0xffff
je 0x5744fd
add ecx, 2
test dx, dx
je 0x574504
nop word cs:[eax + eax]
nop
cmp word [ecx], 0
lea edx, [ecx + 2]
mov ecx, edx
jne 0x5744f0
jmp 0x574510
add ecx, 4
mov edx, ecx
jmp 0x574510
mov edx, ecx
nop word cs:[eax + eax]
cmp word [edx], 0
mov ecx, edx
lea edx, [edx + 2]
jne 0x574510
test al, 0x40
je 0x57453b
xor eax, eax
cmp di, 0xffff
sete al
lea eax, [edx + eax*4 + 2]
nop dword [eax]
cmp word [eax], 0
lea edx, [eax + 2]
mov eax, edx
jne 0x574530
add edx, 3
push 5
mov eax, dword [ebp - 0x44]
push dword [eax + 4]
mov esi, edx
call dword [sym.imp.USER32.dll_GetWindow]
mov edx, esi
mov dword [ebp - 0x30], eax
xor eax, eax
xor esi, esi
mov dword [ebp - 0x24], ebx
mov word [ebp - 0x1e], di
jmp 0x574583
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 edx, [ecx + eax + 5]
mov eax, dword [ebp - 0x4c]
inc eax
cmp ax, word [ebp - 0x4e]
jae 0x5748f4
and edx, 0xfffffffc
cmp di, 0xffff
mov dword [ebp - 0x4c], eax
je 0x5745a0
movzx eax, word [edx + 0x10]
jmp 0x5745a3
mov eax, dword [edx + 0x14]
lea ecx, [edx + 0x18]
mov dword [ebp - 0x38], edx
add edx, 0x12
cmp di, 0xffff
cmove edx, ecx
movzx ecx, word [edx]
cmp cx, 0x7b
jne 0x5746b0
test ebx, ebx
mov dword [ebp - 0x48], edx
je 0x574602
movzx ecx, word [ebx]
mov esi, dword [ebx + 4]
cmp eax, ecx
je 0x5745f3
nop word cs:[eax + eax]
nop dword [eax + eax]
movzx edx, word [ebx + esi + 8]
lea ecx, [ebx + esi + 8]
mov esi, dword [ebx + esi + 0xc]
mov ebx, ecx
cmp eax, edx
jne 0x5745e0
movzx eax, word [ebx + 2]
cmp eax, 0x378
jne 0x5746e4
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x10], 1
xor eax, eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x10], 1
push ecx
push eax
call fcn.0057ea70
add esp, 8
mov esi, eax
test eax, eax
js 0x5746d8
xor ebx, ebx
cmp word [ebp - 0x1e], 0xffff
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x3c], 0
sete bl
call fcn.00575250
mov esi, dword [ebp - 0x38]
movsx eax, word [esi + ebx*4 + 8]
mov dword [ebp - 0x60], eax
movsx ecx, word [esi + ebx*4 + 0xa]
mov dword [ebp - 0x5c], ecx
movsx edx, word [esi + ebx*4 + 0xc]
add edx, eax
mov dword [ebp - 0x58], edx
movsx eax, word [esi + ebx*4 + 0xe]
add eax, ecx
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x60]
push eax
mov eax, dword [ebp - 0x44]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_MapDialogRect]
movzx eax, word [ebp - 0x1e]
cmp ax, 0xffff
je 0x57476a
mov esi, dword [ebp - 0x38]
mov dword [ebp - 0x2c], 0
movzx ecx, word [esi + 0x10]
jmp 0x574776
cmp word [ebp - 0x4c], 0
je 0x57487c
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x10], 0xffffffff
push 2
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x30], eax
jmp 0x574876
mov dword [ebp - 0x34], 0
jmp 0x574840
add esi, 6
mov dword [ebp - 0x28], 0
je 0x574610
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x68], esi
push esi
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
test eax, eax
mov dword [ebp - 0x34], 2
je 0x5748d0
push eax
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, dword [ebp - 0x2c]
test eax, eax
je 0x5748dd
mov ecx, dword [ebp - 0x64]
add ecx, 2
push dword [ebp - 0x68]
push ecx
push eax
call fcn.0061e340
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
push eax
push 1
push ecx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov esi, eax
test eax, eax
js 0x5748ec
mov eax, dword [ebp - 0x28]
jmp 0x574612
mov esi, dword [ebp - 0x38]
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 4]
mov dword [ebp - 0x2c], edx
xor edx, edx
cmp ax, 0xffff
mov edi, dword [ebp - 0x60]
mov eax, dword [ebp - 0x58]
mov ebx, dword [ebp - 0x5c]
sete dl
mov edx, dword [esi + edx*8]
mov esi, 0x10000
sub eax, edi
or edx, esi
mov esi, dword [ebp - 0x54]
sub esi, ebx
push 0
push dword [0x6d337c]
push ecx
mov ecx, dword [ebp - 0x44]
push dword [ecx + 4]
push esi
push eax
push ebx
push edi
push edx
push 0
push str.AtlAxWinLic140
push dword [ebp - 0x2c]
call fcn.005db3c0
test eax, eax
mov dword [ebp - 0x3c], eax
je 0x574829
cmp word [ebp - 0x1e], 0xffff
jne 0x5747db
mov ecx, dword [ebp - 0x38]
mov ecx, dword [ecx]
test ecx, ecx
je 0x5747db
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowContextHelpId]
lea ecx, [ebp - 0x3c]
push dword [ebp - 0x40]
push 0
push 0x658230
push 0
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x48]
call fcn.00580480
mov esi, eax
test eax, eax
js 0x574832
cmp word [ebp - 0x4c], 0
mov ecx, dword [ebp - 0x30]
mov eax, 0
cmove ecx, eax
push 0x13
push 0
push 0
push 0
push 0
push ecx
push dword [ebp - 0x3c]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x30], eax
jmp 0x574840
call fcn.005ef770
mov esi, eax
jmp 0x574840
mov dword [ebp - 0x34], 2
nop dword [eax]
mov ebx, dword [ebp - 0x24]
push dword [ebp - 0x40]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov edi, dword [ebp - 0x28]
test edi, edi
je 0x574868
mov eax, dword [edi]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x10], 0xffffffff
call dword [0x64689c]
push edi
call ecx
cmp dword [ebp - 0x34], 0
movzx edi, word [ebp - 0x1e]
jne 0x5748f4
mov edx, dword [ebp - 0x48]
movzx ecx, word [edx]
cmp cx, 0xffff
je 0x5748a0
add edx, 2
test cx, cx
mov eax, edx
je 0x5748a5
nop dword [eax]
cmp word [edx], 0
lea eax, [edx + 2]
mov edx, eax
jne 0x574890
jmp 0x5748a5
add edx, 4
mov eax, edx
movzx ecx, word [eax]
cmp cx, 0xffff
je 0x574560
add eax, 2
test cx, cx
mov ecx, eax
je 0x574565
cmp word [eax], 0
lea ecx, [eax + 2]
mov eax, ecx
jne 0x5748c0
jmp 0x574565
mov ebx, dword [ebp - 0x24]
mov esi, 0x8007000e
jmp 0x57484c
call fcn.005ef770
mov ebx, dword [ebp - 0x24]
mov esi, eax
jmp 0x57484c
mov ebx, dword [ebp - 0x24]
jmp 0x57484c
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, esi
add esp, 0x5c
pop esi
pop edi
pop ebx
pop ebp
ret 4