Function at 0x40fe00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x467dd9
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x4812a4]
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 eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov ebx, edx
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xe8], ecx
call dword [section..data]
lea edi, [ebx + 0x20]
lea ebx, [edi + 4]
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xe4], edi
call fcn.00411090
mov eax, dword [ebx + 4]
mov dword [ebp - 0xdc], eax
lea ecx, [edi + 0x10]
lea eax, [ebp - 0xe0]
mov dword [ebp - 0xe0], ebx
call fcn.00411280
mov eax, 1
mov ecx, 0x10
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], eax
cmp dword [esi + 0x18], ecx
jb 0x40fe96
mov esi, dword [esi + 4]
jmp 0x40fe99
add esi, 4
mov eax, dword [ebp - 0xd0]
cmp dword [eax + 0x18], ecx
jb 0x40fea9
mov eax, dword [eax + 4]
jmp 0x40feac
add eax, 4
push esi
push eax
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
cmp esi, ebx
jne 0x40fec4
xor al, al
jmp 0x41049b
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp eax, ebx
mov dword [ebp - 0xd4], eax
je 0x40febd
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp eax, ebx
mov dword [ebp - 0xec], eax
je 0x40febd
mov esi, 7
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x50], ebx
mov word [ebp - 0x60], bx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], ebx
mov word [ebp - 0x44], bx
mov byte [ebp - 4], 1
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x6c], ebx
mov word [ebp - 0x7c], bx
mov byte [ebp - 4], 2
mov dword [ebp - 0x84], 0xf
mov dword [ebp - 0x88], ebx
mov byte [ebp - 0x98], bl
mov byte [ebp - 4], 3
lea edx, [ebp - 0xc4]
push edx
call fcn.0040f900
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0xd4]
xor edi, edi
cmp eax, ebx
mov dword [ebp - 0xcc], edi
jbe 0x4103f3
shr eax, 1
mov dword [ebp - 0xdc], eax
lea ecx, [ebp - 0x80]
push ecx
mov ecx, dword [ebp - 0xec]
push ebx
mov ebx, eax
call fcn.0040fd50
xor ebx, ebx
add esp, 8
cmp dword [ebp - 0x6c], ebx
mov dword [ebp - 0xd0], eax
je 0x4103d3
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x80]
lea ecx, [ebp - 0xc0]
call fcn.00411ca0
lea esi, [ebp - 0xc4]
mov dword [ebp - 0xa4], ebx
call fcn.0040fb90
cmp edi, ebx
mov dword [ebp - 0xa0], eax
jne 0x410199
mov esi, 7
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], bx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0xa0]
cmp eax, ebx
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc8], ebx
jbe 0x41009e
jmp 0x40fff0
lea edx, [ebp - 0x2c]
push edx
lea ecx, [ebp - 0xc4]
call fcn.0040f960
cmp dword [ebp - 0x14], 8
jb 0x410010
mov edi, dword [ebp - 0x28]
cmp edi, ebx
jne 0x410013
xor esi, esi
jmp 0x410061
lea edi, [ebp - 0x28]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
cmp eax, 0x3fffffff
jle 0x410028
xor eax, eax
jmp 0x41005f
lea ebx, [eax + eax]
mov eax, ebx
call fcn.0045ccc0
mov esi, esp
test esi, esi
je 0x41005b
mov eax, dword [ebp - 0xd8]
push 0
push 0
push ebx
push esi
push 0xffffffffffffffff
push edi
push 0
push eax
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, esi
jmp 0x41005d
xor eax, eax
xor ebx, ebx
mov esi, eax
mov ecx, dword [ebp - 0xe8]
call fcn.004070b0
push eax
push esi
call fcn.0044b90a
add esp, 8
test eax, eax
mov eax, dword [ebp - 0xc8]
je 0x410162
add eax, 1
cmp eax, dword [ebp - 0xcc]
mov dword [ebp - 0xc8], eax
jb 0x40fff0
mov esi, 7
mov byte [ebp - 4], 4
mov edi, 8
cmp dword [ebp - 0x14], edi
jb 0x4100b8
mov edx, dword [ebp - 0x28]
push edx
call fcn.00449824
add esp, 4
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], bx
mov byte [ebp - 4], 3
lea eax, [ebp - 0xc4]
push eax
call fcn.004104c0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x84], 0x10
jb 0x4100ee
mov ecx, dword [ebp - 0x98]
push ecx
call fcn.00449824
add esp, 4
mov dword [ebp - 0x84], 0xf
mov dword [ebp - 0x88], ebx
mov byte [ebp - 0x98], 0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x68], edi
jb 0x41011a
mov edx, dword [ebp - 0x7c]
push edx
call fcn.00449824
add esp, 4
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x6c], ebx
mov word [ebp - 0x7c], bx
mov byte [ebp - 4], 0
cmp dword [ebp - 0x30], edi
jb 0x410139
mov eax, dword [ebp - 0x44]
push eax
call fcn.00449824
add esp, 4
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], ebx
mov word [ebp - 0x44], bx
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x4c], edi
jb 0x41015b
mov ecx, dword [ebp - 0x60]
push ecx
call fcn.00449824
add esp, 4
xor al, al
jmp 0x410491
cmp eax, ebx
mov dword [ebp - 0xcc], eax
je 0x410099
mov byte [ebp - 4], 4
cmp dword [ebp - 0x14], 8
jb 0x410186
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.00449824
add esp, 4
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], bx
jmp 0x4103cd
lea edx, [ebp - 0x64]
push edx
lea ecx, [ebp - 0xc4]
call fcn.0040f960
cmp edi, 1
jbe 0x4101c1
lea esi, [edi - 1]
lea eax, [ebp - 0xc4]
push eax
call fcn.0040fac0
sub esi, 1
jne 0x4101b0
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0xc4]
call fcn.0040f960
push 1
mov edi, 7
push 0x4709b8
lea esi, [ebp - 0x124]
mov dword [ebp - 0x10c], edi
mov dword [ebp - 0x110], ebx
mov word [ebp - 0x120], bx
call fcn.00411fd0
mov byte [ebp - 4], 6
push 0xb
push 0x4709bc
lea esi, [ebp - 0x108]
mov dword [ebp - 0xf0], edi
mov dword [ebp - 0xf4], ebx
mov word [ebp - 0x104], bx
call fcn.00411fd0
mov byte [ebp - 4], 7
jmp 0x410230
cmp dword [ebp - 0xf0], 8
mov eax, dword [ebp - 0x104]
jae 0x410245
lea eax, [ebp - 0x104]
mov ebx, dword [ebp - 0xf4]
push eax
lea eax, [ebp - 0x48]
call fcn.004120b0
cmp eax, 0xffffffff
je 0x41026c
lea edx, [ebp - 0x124]
push edx
push ebx
lea ecx, [ebp - 0x48]
push ecx
call fcn.00412180
jmp 0x410230
mov byte [ebp - 4], 6
mov esi, 8
cmp dword [ebp - 0xf0], esi
jb 0x41028c
mov edx, dword [ebp - 0x104]
push edx
call fcn.00449824
add esp, 4
xor ebx, ebx
mov edi, 7
mov dword [ebp - 0xf0], edi
mov dword [ebp - 0xf4], ebx
mov word [ebp - 0x104], bx
mov byte [ebp - 4], 4
cmp dword [ebp - 0x10c], esi
jb 0x4102c1
mov eax, dword [ebp - 0x120]
push eax
call fcn.00449824
add esp, 4
cmp dword [ebp - 0x4c], esi
mov dword [ebp - 0x10c], edi
mov dword [ebp - 0x110], ebx
mov word [ebp - 0x120], bx
jb 0x4102ea
mov eax, dword [ebp - 0x60]
cmp eax, ebx
mov dword [ebp - 0xc8], eax
jne 0x4102f3
xor esi, esi
jmp 0x410343
lea ecx, [ebp - 0x60]
mov dword [ebp - 0xc8], ecx
mov edx, dword [ebp - 0xc8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
cmp eax, 0x3fffffff
jg 0x41033f
lea edi, [eax + eax]
mov eax, edi
call fcn.0045ccc0
mov esi, esp
cmp esi, ebx
je 0x41033f
mov eax, dword [ebp - 0xc8]
mov ecx, dword [ebp - 0xd8]
push ebx
push ebx
push edi
push esi
push 0xffffffffffffffff
push eax
push ebx
push ecx
mov byte [esi], bl
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, esi
jmp 0x410341
xor eax, eax
mov esi, eax
mov eax, esi
mov dword [ebp - 0x128], 0xf
mov dword [ebp - 0x12c], ebx
mov byte [ebp - 0x13c], bl
lea edi, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x410360
sub eax, edi
push eax
push esi
lea ecx, [ebp - 0x140]
call fcn.00407a50
mov byte [ebp - 4], 8
mov edi, dword [ebp - 0xe4]
lea edx, [ebp - 0x140]
push edx
call fcn.00410630
push 0xffffffffffffffff
mov ecx, eax
push ebx
lea eax, [ebp - 0x48]
call fcn.00411ca0
mov byte [ebp - 4], 4
cmp dword [ebp - 0x128], 0x10
jb 0x4103b7
mov eax, dword [ebp - 0x13c]
push eax
call fcn.00449824
add esp, 4
mov dword [ebp - 0x128], 0xf
mov dword [ebp - 0x12c], ebx
mov byte [ebp - 0x13c], bl
mov edi, dword [ebp - 0xcc]
mov ecx, dword [ebp - 0xd0]
cmp ecx, dword [ebp - 0xd4]
jae 0x4103ee
mov eax, dword [ebp - 0xdc]
mov ebx, ecx
jmp 0x40ff65
xor ebx, ebx
lea esi, [ebx + 7]
mov byte [ebp - 4], 3
lea edx, [ebp - 0xc4]
push edx
call fcn.004104c0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x84], 0x10
jb 0x41041f
mov eax, dword [ebp - 0x98]
push eax
call fcn.00449824
add esp, 4
mov dword [ebp - 0x84], 0xf
mov dword [ebp - 0x88], ebx
mov byte [ebp - 0x98], bl
mov byte [ebp - 4], 1
mov edi, 8
cmp dword [ebp - 0x68], edi
jb 0x41044f
mov ecx, dword [ebp - 0x7c]
push ecx
call fcn.00449824
add esp, 4
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x6c], ebx
mov word [ebp - 0x7c], bx
mov byte [ebp - 4], bl
cmp dword [ebp - 0x30], edi
jb 0x41046d
mov edx, dword [ebp - 0x44]
push edx
call fcn.00449824
add esp, 4
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], ebx
mov word [ebp - 0x44], bx
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x4c], edi
jb 0x41048f
mov eax, dword [ebp - 0x60]
push eax
call fcn.00449824
add esp, 4
mov al, 1
mov word [ebp - 0x60], bx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], esi
lea esp, [ebp - 0x150]
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.00449829
mov esp, ebp
pop ebp
ret 8