Function at 0x10031c64
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005f966
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xa0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x10031ccd
lea eax, [ebp + 8]
mov dword [ebp - 0x64], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x4c], eax
push 1
push dword [ebp - 0x4c]
push 0x6b69
mov eax, dword [ebp - 0x44]
push dword [eax]
mov eax, dword [ebp - 0x64]
push dword [eax]
push dword [ebp - 0x3c]
call fcn.10031f49
add esp, 0x18
jmp 0x10031f38
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x70], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
movzx eax, byte [eax]
test eax, eax
je 0x10031d36
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
jmp 0x10031d17
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 2
jge 0x10031d31
mov eax, dword [ebp - 0x18]
push dword [eax]
mov ecx, dword [ebp - 0x40]
call fcn.1000668f
and dword [eax], 0
jmp 0x10031d0c
jmp 0x10031f38
mov dword [ebp - 0x38], 0x6c2b
mov dword [ebp - 0x60], str.rnisw_uhoywpgq_ifitdcb_jcacfev_meagsm_odtcrhg_pvdej_enmkovgga
cmp dword [ebp - 0x38], 0x6e54
jle 0x10031deb
and dword [ebp - 0x1c], 0
jmp 0x10031d5e
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x90f
jge 0x10031de1
and dword [ebp - 0x30], 0
jmp 0x10031d74
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x6b86
jge 0x10031ddc
and dword [ebp - 0x24], 0
jmp 0x10031d8a
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x4e7c
jge 0x10031dda
mov eax, dword [ebp - 0x30]
cdq
idiv dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov ecx, edx
shl eax, cl
cdq
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], edx
push dword [ebp - 0x68]
push dword [ebp - 0x6c]
lea ecx, [ebp - 0x98]
call fcn.10001a99
pop ecx
pop ecx
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
call fcn.10005fc0
push eax
call fcn.100460fd
pop ecx
lea ecx, [ebp - 0x98]
call fcn.10005fb6
jmp 0x10031d83
jmp 0x10031d6d
jmp 0x10031d57
push 0
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x34], 0xb2c
mov dword [ebp - 0x58], str.vzidskoq_zdjuvbza_hfz_kpstbzzy_hnrljgmcb_xmagroqbn_qsipyy_vbubwst
cmp dword [ebp - 0x34], 0xc32
jle 0x10031e91
and dword [ebp - 0x28], 0
jmp 0x10031e13
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x1ada
jge 0x10031e91
and dword [ebp - 0x2c], 0
jmp 0x10031e29
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x4cf0
jge 0x10031e8c
and dword [ebp - 0x20], 0
jmp 0x10031e3f
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x4cac
jge 0x10031e8a
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x20]
xor eax, dword [ebp - 0x28]
cdq
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], edx
push dword [ebp - 0x74]
push dword [ebp - 0x78]
lea ecx, [ebp - 0xb0]
call fcn.10001a99
pop ecx
pop ecx
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
call fcn.10005fc0
push eax
call fcn.100460fd
pop ecx
lea ecx, [ebp - 0xb0]
call fcn.10005fb6
jmp 0x10031e38
jmp 0x10031e22
jmp 0x10031e0c
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x10031ebd
push 0x6e5
push 0x73ea
push 0x1fab
push 0
push 0
push 0x7578
call fcn.1003179d
add esp, 0x18
and dword [ebp - 4], 0
cmp dword [ebp - 0x34], 0x836
jge 0x10031ed3
push dword [ebp - 0x58]
call fcn.100460fd
pop ecx
jmp 0x10031eef
or dword [ebp - 4], 0xffffffff
jmp 0x10031ef9
mov dword [ebp - 4], 2
cmp dword [ebp - 0x38], 0x6a32
jge 0x10031f12
push dword [ebp - 0x60]
call fcn.100460fd
pop ecx
jmp 0x10031f2e
or dword [ebp - 4], 0xffffffff
jmp 0x10031f38
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret