Function at 0x41d590
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x440446
mov eax, dword fs:[0]
push eax
sub esp, 0x13c
mov eax, dword [0x45c4f4]
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
movzx eax, word [ebp + 8]
mov esi, dword [0x45c990]
push 0xf0
push eax
push esi
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x11c], 1
call dword [sym.imp.KERNEL32.dll_FindResourceW]
xor edi, edi
cmp eax, edi
je 0x41d7f3
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
je 0x41d7f3
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
cmp esi, edi
je 0x41d7f3
movzx eax, word [esi]
xor ecx, ecx
cmp cx, ax
je 0x41d7f3
mov edx, dword [esi + 4]
mov ebx, eax
movzx eax, word [esi + 2]
mov ecx, 0x403
add esi, 8
mov dword [ebp - 0x124], edx
cmp cx, ax
jne 0x41d6fb
lea edx, [ebp - 0x114]
mov dword [ebp - 0x118], edx
cmp esi, edi
jne 0x41d656
mov dword [ebp - 0x118], edi
jmp 0x41d6a5
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edi, [eax + 1]
push 0x80
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x118]
push edi
push ecx
call fcn.0041ca90
mov edx, dword [ebp - 0x118]
push edi
push esi
push edi
push edx
call dword [sym.imp.MSVCR100.dll_memcpy_s]
add esp, 0x20
cmp eax, 0x50
ja case.0x41d77b.145
movzx eax, byte [eax + 0x41d848]
jmp dword [eax*4 + 0x41d838]
xor edi, edi
mov dword [ebp - 4], edi
mov ecx, dword [ebp - 0x118]
mov eax, dword [ebp - 0x120]
push ecx
mov ecx, dword [eax + 4]
push edi
push 0x143
push ebx
push ecx
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
cmp eax, 0xffffffff
jne 0x41d6d1
mov dword [ebp - 0x11c], edi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x118]
lea edx, [ebp - 0x114]
cmp eax, edx
je 0x41d7e1
push eax
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
jmp 0x41d7e1
mov ecx, 0x1234
cmp cx, ax
jne 0x41d7e1
lea edx, [ebp - 0x90]
mov dword [ebp - 0x148], 1
mov dword [ebp - 0x144], 0xffffffff
mov dword [ebp - 0x94], edx
cmp esi, edi
jne 0x41d735
mov dword [ebp - 0x94], edi
jmp 0x41d784
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edi, [eax + 1]
push 0x80
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x94]
push edi
push ecx
call fcn.0041ca90
mov edx, dword [ebp - 0x94]
push edi
push esi
push edi
push edx
call dword [sym.imp.MSVCR100.dll_memcpy_s]
add esp, 0x20
cmp eax, 0x50
ja case.0x41d77b.145
movzx eax, byte [eax + 0x41d8ac]
jmp dword [eax*4 + 0x41d89c]
xor edi, edi
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0x140], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x94]
lea edx, [ebp - 0x90]
cmp eax, edx
je 0x41d7b8
push eax
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
mov edx, dword [ebp - 0x120]
lea eax, [ebp - 0x148]
push eax
mov eax, dword [edx + 4]
push edi
push 0x401
push ebx
push eax
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
cmp eax, 0xffffffff
jne 0x41d7e1
mov dword [ebp - 0x11c], edi
add esi, dword [ebp - 0x124]
cmp dword [ebp - 0x11c], edi
jne 0x41d610
mov eax, dword [ebp - 0x11c]
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.0043b28c
mov esp, ebp
pop ebp
ret 4
push 0x8007000e
call fcn.00414450
push 0x80070057
call fcn.00414450
push 0x80004005
call fcn.00414450
lea ecx, [ecx]
mov dword [0x170041d6], eax
fadd dword [ecx]
and eax, ebx
inc ecx
add byte [ebx], ch
fadd dword [ecx]
add byte [ebx], al
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add dword [ebx], eax
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add al, byte [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add al, byte [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add byte [ebp - 679346103], cl
inc ecx
add byte [edi], dl
fadd dword [ecx]
and eax, ebx
inc ecx
add byte [ebx], ch
fadd dword [ecx]
add byte [ebx], al
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add dword [ebx], eax
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add al, byte [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add al, byte [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add ah, cl
int3