Function at 0x1004bf2d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x1004c106
mov eax, dword [ebp + 8]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0x6c], eax
xor eax, eax
jne 0x1004bf89
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x1004bf89
and dword [ebp - 0x10], 0
jmp 0x1004bf90
mov dword [ebp - 0x10], 1
cmp dword [ebp - 0x10], 1
jg 0x1004bf9f
mov dword [ebp - 0x14], 1
jmp 0x1004bfa3
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
cmp dword [ebp - 0x14], eax
jg 0x1004bfb6
mov dword [ebp - 0x18], 1
jmp 0x1004bfba
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x18]
jne 0x1004bfcd
mov dword [ebp - 0x1c], 1
jmp 0x1004bfd1
and dword [ebp - 0x1c], 0
cmp dword [ebp - 0x1c], 0xe1b6
jle 0x1004bfe3
mov dword [ebp - 0x20], 1
jmp 0x1004bfe7
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov eax, dword [eax]
add eax, dword [ecx]
mov dword [ebp - 0x24], eax
push 3
mov ecx, dword [ebp - 0x44]
call fcn.10018883
mov ecx, dword [ebp - 0x24]
mov dword [eax], ecx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
cmp dword [ebp - 0x24], eax
jne 0x1004c0d5
mov dword [ebp - 0x5c], 0xfffffffd
mov dword [ebp - 0x28], 2
mov dword [ebp - 0x2c], 0x6a218f0e
mov dword [ebp - 0x3c], 0xeed0
mov eax, dword [ebp - 4]
mov dword [eax], 0xfffffffe
mov dword [ebp - 0x28], 0xfffffff6
mov eax, dword [ebp - 0x28]
sub eax, 0x3cacd8f
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x452a
jge 0x1004c06a
mov dword [ebp - 0x30], 1
jmp 0x1004c06e
and dword [ebp - 0x30], 0
cmp dword [ebp - 0x30], 1
ja 0x1004c07d
mov dword [ebp - 0x34], 1
jmp 0x1004c081
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x34], eax
jl 0x1004c092
mov dword [ebp - 0x38], 1
jmp 0x1004c096
and dword [ebp - 0x38], 0
imul eax, dword [ebp - 0x38], 0x618d
cmp eax, dword [ebp - 0x3c]
jg 0x1004c0ab
mov dword [ebp - 0x40], 1
jmp 0x1004c0af
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x5c]
cmp eax, dword [ebp - 0x40]
jne 0x1004c0c0
mov dword [ebp - 0x48], 1
jmp 0x1004c0c4
and dword [ebp - 0x48], 0
push 2
mov ecx, dword [ebp - 0x44]
call fcn.10018883
mov ecx, dword [ebp - 0x48]
mov dword [eax], ecx
jmp 0x1004c104
mov dword [ebp - 0x60], 0x425a
mov eax, dword [ebp - 4]
mov dword [eax], 0xffffffe3
jmp 0x1004c0f2
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0x18
je 0x1004c104
cmp dword [ebp - 0x60], 0
je 0x1004c102
jmp 0x1004c104
jmp 0x1004c0e7
jmp 0x1004c126
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
movzx eax, byte [eax]
test eax, eax
je 0x1004c126
push 0
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esp, ebp
pop ebp
ret