Function at 0x46fec0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a3b20
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x94
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x10], esp
cmp eax, edi
je 0x46fef2
mov dword [eax], edi
mov dword [eax + 4], edi
mov eax, dword [ebp + 0x10]
cmp eax, edi
je 0x46fefe
mov dword [eax], edi
mov dword [eax + 4], edi
mov ecx, dword [ebp + 0x14]
cmp ecx, edi
je 0x46ff0d
push 0xffffffffffffffff
push edi
call fcn.0043f640
mov ecx, dword [ebp + 0x18]
cmp ecx, edi
je 0x46ff1c
push 0xffffffffffffffff
push edi
call fcn.0043f640
cmp dword [0x4c7e74], edi
je 0x46ff38
mov eax, dword [ebp + 8]
push 2
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ebx, eax
mov dword [ebp - 0x14], ebx
jmp 0x46ff5d
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp + 8]
call fcn.004328e0
mov eax, dword [eax]
push 2
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov ebx, eax
lea ecx, [ebp + 8]
mov dword [ebp - 0x14], ebx
call fcn.004330e0
cmp ebx, edi
jne 0x46ff76
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov dword [ebp - 4], edi
mov dword [ebp - 0x2c], 0x4ad010
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], edi
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 1
push edx
push 0x4705f0
push 1
push 0x10
push ebx
call dword [sym.imp.KERNEL32.dll_EnumResourceLanguagesW]
cmp dword [ebp - 0x24], edi
jne 0x46ffbe
lea eax, [ebp - 0x7c]
push 0x4af3d0
push eax
mov dword [ebp - 0x7c], 0x132
call fcn.0041e909
xor esi, esi
xor eax, eax
xor edx, edx
cmp edx, dword [ebp - 0x24]
jge 0x46fff7
cmp edx, edi
jl 0x46ffd5
mov ecx, dword [ebp - 0x28]
lea ecx, [ecx + edx*2]
jmp 0x46ffd7
xor ecx, ecx
mov cx, word [ecx]
cmp esi, edi
jne 0x46ffe8
mov eax, ecx
mov esi, 1
inc edx
jmp 0x46ffc4
mov edi, eax
and edi, 0x3ff
cmp edi, 9
jne 0x470024
mov eax, ecx
push eax
push 1
push 0x10
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
mov edi, eax
test edi, edi
jne 0x470030
lea edx, [ebp - 0x98]
push 0x4af3d0
push edx
mov dword [ebp - 0x98], 0x14d
call fcn.0041e909
cmp ax, cx
jbe 0x47002b
mov eax, ecx
xor edi, edi
inc edx
jmp 0x46ffc4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x470057
lea eax, [ebp - 0x8c]
push 0x4af3d0
push eax
mov dword [ebp - 0x8c], 0x151
call fcn.0041e909
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x470079
lea ecx, [ebp - 0x3c]
push 0x4af3d0
push ecx
mov dword [ebp - 0x3c], 0x155
call fcn.0041e909
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x2c], 0x4ad010
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 2
test eax, eax
je 0x4700af
mov edx, dword [ebp - 0x24]
mov ecx, eax
mov ebx, edx
dec edx
test ebx, ebx
je 0x4700a6
add ecx, 2
jmp 0x47009a
push eax
call fcn.00484a49
add esp, 4
cmp edi, 6
mov dword [ebp - 4], 4
mov dword [ebp + 8], esi
jae 0x4700e8
lea eax, [ebp - 0x6c]
push 0x4af3d0
push eax
mov dword [ebp - 0x6c], 0x18a
call fcn.0041e909
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 0x46ff61
ret
lea edx, [esi + 6]
lea eax, [edi - 6]
mov ecx, edx
cmp eax, 2
jb 0x470105
mov bx, word [ecx]
add ecx, 2
test bx, bx
je 0x47011a
sub eax, 2
jmp 0x4700f0
lea ecx, [ebp - 0x44]
push 0x4af3d0
push ecx
mov dword [ebp - 0x44], 0x18e
call fcn.0041e909
push 0x4c367c
push edx
call fcn.0041eadb
add esp, 8
test eax, eax
je 0x470147
lea edx, [ebp - 0x84]
push 0x4af3d0
push edx
mov dword [ebp - 0x84], 0x192
call fcn.0041e909
cmp edi, 0x28
jae 0x470161
lea eax, [ebp - 0x4c]
push 0x4af3d0
push eax
mov dword [ebp - 0x4c], 0x196
call fcn.0041e909
mov eax, dword [ebp + 0xc]
add esi, 0x28
sub edi, 0x28
test eax, eax
je 0x470198
mov ecx, dword [ebp + 8]
xor eax, eax
mov ax, word [ecx + 2]
cmp eax, edi
jb 0x47017d
mov eax, edi
cmp eax, 0x10
jb 0x470198
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
xor edx, edx
xor ebx, ebx
or edx, eax
mov eax, dword [ebp + 0xc]
or ecx, ebx
mov dword [eax], edx
mov dword [eax + 4], ecx
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4701c9
mov ecx, dword [ebp + 8]
xor eax, eax
mov ax, word [ecx + 2]
cmp eax, edi
jb 0x4701ae
mov eax, edi
cmp eax, 0x18
jb 0x4701c9
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
xor edx, edx
xor ebx, ebx
or edx, eax
mov eax, dword [ebp + 0x10]
or ecx, ebx
mov dword [eax], edx
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 8]
xor eax, eax
mov ax, word [ecx + 2]
add eax, 3
shr eax, 2
shl eax, 2
cmp edi, eax
ja 0x4701f4
lea edx, [ebp - 0x74]
push 0x4af3d0
push edx
mov dword [ebp - 0x74], 0x1bc
call fcn.0041e909
sub edi, eax
add esi, eax
cmp edi, 6
mov dword [ebp + 0x10], esi
jae 0x470215
lea eax, [ebp - 0x54]
push 0x4af3d0
push eax
mov dword [ebp - 0x54], 0x1e5
call fcn.0041e909
mov ax, word [esi]
mov ecx, eax
and ecx, 0xffff
cmp edi, ecx
jae 0x47023f
lea edx, [ebp - 0x94]
push 0x4af3d0
push edx
mov dword [ebp - 0x94], 0x1e8
call fcn.0041e909
cmp ax, 6
jae 0x47025a
lea eax, [ebp - 0x5c]
push 0x4af3d0
push eax
mov dword [ebp - 0x5c], 0x1eb
call fcn.0041e909
lea ebx, [esi + 6]
lea eax, [edi - 6]
mov ecx, ebx
cmp eax, 2
jb 0x470277
mov dx, word [ecx]
add ecx, 2
test dx, dx
je 0x47028c
sub eax, 2
jmp 0x470262
lea eax, [ebp - 0x30]
push 0x4af3d0
push eax
mov dword [ebp - 0x30], 0x1ef
call fcn.0041e909
push 0x4be364
push ebx
call fcn.0041eadb
add esp, 8
test eax, eax
jne 0x470588
cmp edi, 0x24
jae 0x4702bc
lea ecx, [ebp - 0x64]
push 0x4af3d0
push ecx
mov dword [ebp - 0x64], 0x1fc
call fcn.0041e909
add esi, 0x24
sub edi, 0x24
push ebx
mov dword [ebp + 0xc], esi
mov dword [ebp - 0x78], edi
call fcn.0041e943
mov ecx, dword [ebp + 0x10]
lea edx, [eax + eax + 0xb]
shr edx, 2
xor eax, eax
add esp, 4
mov ax, word [ecx]
shl edx, 2
sub eax, edx
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp + 8], esi
cmp eax, 6
jb 0x4705c2
mov esi, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov cx, word [esi]
mov eax, ecx
and eax, 0xffff
cmp edx, eax
jae 0x470320
lea edx, [ebp - 0x34]
push 0x4af3d0
push edx
mov dword [ebp - 0x34], 0x21d
call fcn.0041e909
cmp cx, 6
jae 0x47033b
lea eax, [ebp - 0x38]
push 0x4af3d0
push eax
mov dword [ebp - 0x38], 0x220
call fcn.0041e909
lea edi, [esi + 6]
add eax, 0xfffffffa
mov ecx, edi
cmp eax, 2
jb 0x470358
mov dx, word [ecx]
add ecx, 2
test dx, dx
je 0x47036d
sub eax, 2
jmp 0x470343
lea eax, [ebp - 0x40]
push 0x4af3d0
push eax
mov dword [ebp - 0x40], 0x224
call fcn.0041e909
push edi
call fcn.0041e943
lea ecx, [eax + eax + 0xb]
mov eax, dword [ebp + 8]
shr ecx, 2
xor edx, edx
add esp, 4
mov dx, word [eax]
shl ecx, 2
cmp edx, ecx
jae 0x4703a1
lea ecx, [ebp - 0x48]
push 0x4af3d0
push ecx
mov dword [ebp - 0x48], 0x228
call fcn.0041e909
push edi
call fcn.0041e943
lea edx, [eax + eax + 0xb]
push edi
shr edx, 2
lea esi, [esi + edx*4]
mov dword [ebp + 0xc], esi
call fcn.0041e943
mov ecx, dword [ebp + 8]
lea eax, [eax + eax + 0xb]
mov ebx, dword [ebp + 0x14]
xor edi, edi
mov di, word [ecx]
add esp, 8
shr eax, 2
shl eax, 2
sub edi, eax
mov dword [ebp - 0x18], edi
cmp edi, 6
jae 0x470411
mov edx, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0x10]
mov ax, word [edx]
add eax, 3
shr eax, 2
shl eax, 2
cmp ecx, eax
jae 0x470409
lea eax, [ebp - 0x50]
push 0x4af3d0
push eax
mov dword [ebp - 0x50], 0x268
call fcn.0041e909
sub dword [ebp + 0x10], eax
jmp 0x4702e8
mov cx, word [esi]
mov eax, ecx
and eax, 0xffff
cmp edi, eax
jae 0x470434
lea ecx, [ebp - 0x58]
push 0x4af3d0
push ecx
mov dword [ebp - 0x58], 0x246
call fcn.0041e909
cmp cx, 6
jae 0x47044f
lea edx, [ebp - 0x60]
push 0x4af3d0
push edx
mov dword [ebp - 0x60], 0x249
call fcn.0041e909
lea ecx, [esi + 6]
add eax, 0xfffffffa
cmp eax, 2
jb 0x47046a
mov dx, word [ecx]
add ecx, 2
test dx, dx
je 0x47047f
sub eax, 2
jmp 0x470455
lea eax, [ebp - 0x68]
push 0x4af3d0
push eax
mov dword [ebp - 0x68], 0x24d
call fcn.0041e909
test ebx, ebx
je 0x470492
mov ecx, dword [ebx + 4]
lea eax, [esi + 6]
push eax
push ecx
mov ecx, ebx
call fcn.0043fbe0
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x470530
lea eax, [esi + 6]
push eax
call fcn.0041e943
lea ecx, [eax + eax + 0xb]
xor edx, edx
mov dx, word [esi]
shr ecx, 2
shl ecx, 2
mov esi, edx
sub esi, ecx
shr esi, 1
lea edi, [esi + esi + 2]
push edi
call fcn.00484a20
mov ecx, edi
mov ebx, eax
mov edx, ecx
xor eax, eax
mov edi, ebx
add esp, 8
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp + 0xc]
lea edi, [esi + esi]
add eax, 6
push eax
call fcn.0041e943
mov edx, dword [ebp + 0xc]
lea ecx, [eax + eax + 0xb]
shr ecx, 2
mov eax, edi
mov edi, ebx
lea esi, [edx + ecx*4]
mov ecx, eax
add esp, 4
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0x18]
mov eax, dword [ecx + 4]
push eax
call fcn.0043fbe0
push ebx
call fcn.00484a49
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x14]
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0x78]
mov ax, word [esi]
add eax, 3
shr eax, 2
shl eax, 2
cmp ecx, eax
jae 0x47055a
lea eax, [ebp - 0x80]
push 0x4af3d0
push eax
mov dword [ebp - 0x80], 0x25f
call fcn.0041e909
add esi, eax
cmp edi, eax
mov dword [ebp + 0xc], esi
jae 0x47057e
lea ecx, [ebp - 0x88]
push 0x4af3d0
push ecx
mov dword [ebp - 0x88], 0x263
call fcn.0041e909
sub edi, eax
mov dword [ebp - 0x18], edi
jmp 0x4703d7
mov edx, dword [ebp + 0x10]
xor eax, eax
mov ax, word [edx]
add eax, 3
shr eax, 2
shl eax, 2
cmp edi, eax
jae 0x4701f4
lea eax, [ebp - 0x90]
push 0x4af3d0
push eax
mov dword [ebp - 0x90], 0x1f5
call fcn.0041e909
mov eax, 0x4705c2
ret
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x14