Function at 0x48dcd0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x591421
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x600f80]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push 0x5e64c8
push 0x6a
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push edi
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
call fcn.004085a0
push 0xb0
lea eax, [ebp - 0x100]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.00540250
add esp, 4
lea ecx, [ebp - 0x100]
call fcn.00432ff0
lea edx, [ebp - 0x44]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xf0]
call fcn.0041b2e0
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
xor ebx, ebx
mov dword [ebp - 0x104], ebx
lea ecx, [ecx]
mov eax, dword [ebp - 0x100]
lea ecx, [ebp - 0x100]
mov eax, dword [eax + 4]
add ecx, eax
lea eax, [ebp - 0x108]
push eax
call fcn.0040d610
push eax
mov byte [ebp - 4], 3
call fcn.0041ad70
mov byte [ebp - 4], 2
add esp, 4
mov ecx, dword [ebp - 0x108]
mov esi, eax
test ecx, ecx
je 0x48ddeb
mov edx, dword [ecx]
call dword [edx + 8]
test eax, eax
je 0x48ddeb
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov eax, dword [esi]
mov ecx, esi
push 0xa
mov eax, dword [eax + 0x20]
call eax
mov byte [ebp - 0x110], al
lea edx, [ebp - 0x2c]
push dword [ebp - 0x110]
lea ecx, [ebp - 0x100]
call fcn.00471ce0
add esp, 4
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
jne 0x48df88
cmp ebx, 0x800
jge 0x48df88
cmp dword [ebp - 0x1c], 0
je 0x48dda0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
mov edx, dword [ebp - 0x2c]
cmovae eax, edx
cmp byte [eax], 0x5b
jne 0x48de7e
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
push 0xff
cmovae eax, edx
push eax
imul eax, ebx, 0x904
push 0x100
add eax, 0x613080
push eax
call fcn.0053e40b
add esp, 0x10
jmp 0x48dda0
mov eax, dword [ebp - 0x1c]
xor edi, edi
cmp eax, 3
jb 0x48dda0
xor esi, esi
mov edi, edi
add eax, 0xfffffffd
cmp esi, eax
jae 0x48df6f
cmp edi, 0x800
jge 0x48df6f
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
cmovae eax, edx
cmp byte [eax + esi], 0x3f
je 0x48df55
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
cmovae eax, edx
cmp byte [eax + esi + 1], 0x3f
je 0x48df55
push 2
push esi
lea eax, [ebp - 0x128]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00420670
push ecx
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.0048dc60
add esp, 4
mov byte [ebp - 4], 4
cmp dword [ebp - 0x114], 0x10
mov dword [ebp - 0x10c], eax
jb 0x48df10
push dword [ebp - 0x128]
call fcn.0053e195
add esp, 4
mov ecx, dword [ebp - 0x10c]
add esi, 3
mov edx, dword [ebp - 0x2c]
imul eax, ebx, 0x904
mov byte [eax + edi + 0x613180], cl
inc edi
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
jmp 0x48de90
imul eax, ebx, 0x904
add esi, 3
mov byte [eax + edi + 0x613180], 0x3f
inc edi
mov eax, dword [ebp - 0x1c]
jmp 0x48de90
imul eax, ebx, 0x904
inc ebx
mov dword [ebp - 4], 2
mov dword [eax + 0x613980], edi
jmp 0x48dd97
cmp dword [ebp - 0x18], 0x10
jb 0x48df99
push dword [ebp - 0x2c]
call fcn.0053e195
add esp, 4
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
mov byte [ebp - 4], 0
call fcn.004330a0
lea eax, [ebp - 0x98]
mov dword [ebp - 0x98], vtable.std::ios_base.0
push eax
call fcn.00565104
add esp, 4
cmp dword [ebp - 0x30], 0x10
jb 0x48dfe4
push dword [ebp - 0x44]
call fcn.0053e195
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0053cd12
mov esp, ebp
pop ebp
ret