Function at 0x48c120
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4024
call fcn.006db7b0
mov eax, dword [0x7eba44]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [0x7d3deb]
push ebx
push esi
push edi
push 0x3fff
mov byte [ebp - 0x4008], al
mov ebx, ecx
lea eax, [ebp - 0x4007]
mov dword [ebp - 0x4024], ebx
push 0
push eax
mov dword [ebp - 0x4014], 0
mov dword [ebp - 0x401c], 0
call fcn.006dca70
add esp, 0xc
test ebx, ebx
je 0x48c946
mov ecx, dword [ebx]
test ecx, ecx
je 0x48c946
lea eax, [ebp - 0x401c]
mov esi, 1
push eax
lea edx, [ebp - 0x4014]
call fcn.004712a0
mov edx, dword [ebx]
add esp, 4
mov dword [ebp - 0x4014], eax
test eax, eax
jne 0x48c253
push edx
push str.WARN:_Could_not_open_config_file___s_._n
push 2
call fcn.006f0deb
add esp, 4
push eax
call fcn.0048aae0
add esp, 0xc
push 0x7d6618
push 0x67
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x48c241
push edi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test esi, esi
je 0x48c241
push edi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x48c241
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
lea ecx, [esi + 1]
mov dword [ebp - 0x4018], eax
push 1
push ecx
call fcn.006e6b64
mov edi, eax
add esp, 8
test edi, edi
je 0x48c241
push esi
push dword [ebp - 0x4018]
push edi
call fcn.006dccc0
mov dword [ebp - 0x401c], esi
add esp, 0xc
mov dword [ebp - 0x4014], edi
mov esi, 1
jmp 0x48c27f
mov dword [ebp - 0x4014], 0
or esi, 0xffffffff
jmp 0x48c920
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x48c258
sub ecx, edi
cmp ecx, 2
jle 0x48c27d
lea eax, [edx - 2]
add eax, ecx
push 0x7d6620
push eax
call fcn.006ec4f8
add esp, 8
test eax, eax
je 0x48c27f
xor esi, esi
mov eax, dword [0x7efe5c]
test eax, eax
je 0x48c2a1
test esi, esi
je 0x48c2a1
push 0
lea ecx, [ebp - 0x401c]
push ecx
lea ecx, [ebp - 0x4014]
push ecx
call eax
add esp, 0xc
mov edx, dword [ebp - 0x4014]
lea eax, [ebp - 0x4008]
push 0x4000
push eax
mov ecx, ebx
call fcn.0048ab70
mov esi, eax
add esp, 8
mov dword [ebp - 0x4018], esi
test esi, esi
jne 0x48c901
mov esi, dword [ebx + 0x24]
test esi, esi
je 0x48c3a0
mov esi, dword [esi + 8]
mov dword [ebp - 0x4020], esi
test esi, esi
je 0x48c3a0
nop dword [eax]
mov edi, dword [esi]
test edi, edi
je 0x48c389
cmp dword [edi + 8], 1
jne 0x48c389
mov ebx, dword [edi]
test ebx, ebx
je 0x48c389
mov eax, dword [ebp - 0x4024]
mov eax, dword [eax + 0x90]
mov dword [ebp - 0x400c], eax
test eax, eax
je 0x48c389
mov ecx, eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x48c325
sub ecx, edx
je 0x48c375
mov edx, ebx
lea esi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x48c335
sub edx, esi
lea esi, [ecx + 2]
add esi, edx
push 1
push esi
call fcn.006e6b64
push ebx
push dword [ebp - 0x400c]
mov dword [ebp - 0x4010], eax
push str._s__s
push esi
push eax
call fcn.00454100
mov esi, dword [ebp - 0x4020]
add esp, 0x1c
mov eax, dword [ebp - 0x4010]
jmp 0x48c37e
push ebx
call fcn.006e718e
add esp, 4
push ebx
mov dword [edi], eax
call fcn.006e60fe
add esp, 4
mov esi, dword [esi + 8]
mov dword [ebp - 0x4020], esi
test esi, esi
jne 0x48c2f0
mov ebx, dword [ebp - 0x4024]
lea eax, [ebx + 0x98]
test eax, eax
je 0x48c427
mov edi, dword [eax]
test edi, edi
je 0x48c427
mov eax, dword [ebx + 0x90]
mov dword [ebp - 0x4010], eax
test eax, eax
je 0x48c427
mov ecx, eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x48c3c5
sub ecx, edx
je 0x48c40f
mov edx, edi
lea esi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x48c3d5
sub edx, esi
lea esi, [ecx + 2]
add esi, edx
push 1
push esi
call fcn.006e6b64
push edi
push dword [ebp - 0x4010]
mov dword [ebp - 0x400c], eax
push str._s__s
push esi
push eax
call fcn.00454100
mov eax, dword [ebp - 0x400c]
add esp, 0x1c
jmp 0x48c418
push edi
call fcn.006e718e
add esp, 4
push edi
mov dword [ebx + 0x98], eax
call fcn.006e60fe
add esp, 4
lea eax, [ebx + 0x94]
test eax, eax
je 0x48c4b2
mov edi, dword [eax]
test edi, edi
je 0x48c4b2
mov eax, dword [ebx + 0x90]
mov dword [ebp - 0x4010], eax
test eax, eax
je 0x48c4b2
mov ecx, eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x48c450
sub ecx, edx
je 0x48c49a
mov edx, edi
lea esi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x48c460
sub edx, esi
lea esi, [ecx + 2]
add esi, edx
push 1
push esi
call fcn.006e6b64
push edi
push dword [ebp - 0x4010]
mov dword [ebp - 0x400c], eax
push str._s__s
push esi
push eax
call fcn.00454100
mov eax, dword [ebp - 0x400c]
add esp, 0x1c
jmp 0x48c4a3
push edi
call fcn.006e718e
add esp, 4
push edi
mov dword [ebx + 0x94], eax
call fcn.006e60fe
add esp, 4
lea eax, [ebx + 0xa0]
test eax, eax
je 0x48c542
mov edi, dword [eax]
test edi, edi
je 0x48c542
mov eax, dword [ebx + 0x90]
mov dword [ebp - 0x4010], eax
test eax, eax
je 0x48c542
mov ecx, eax
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x48c4e0
sub ecx, edx
je 0x48c52a
mov edx, edi
lea esi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x48c4f0
sub edx, esi
lea esi, [ecx + 2]
add esi, edx
push 1
push esi
call fcn.006e6b64
push edi
push dword [ebp - 0x4010]
mov dword [ebp - 0x400c], eax
push str._s__s
push esi
push eax
call fcn.00454100
mov eax, dword [ebp - 0x400c]
add esp, 0x1c
jmp 0x48c533
push edi
call fcn.006e718e
add esp, 4
push edi
mov dword [ebx + 0xa0], eax
call fcn.006e60fe
add esp, 4
lea eax, [ebx + 0xa4]
test eax, eax
je 0x48c5c9
mov edi, dword [eax]
test edi, edi
je 0x48c5c9
mov eax, dword [ebx + 0x90]
mov dword [ebp - 0x4010], eax
test eax, eax
je 0x48c5c9
mov ecx, eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x48c567
sub ecx, edx
je 0x48c5b1
mov edx, edi
lea esi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x48c577
sub edx, esi
lea esi, [ecx + 2]
add esi, edx
push 1
push esi
call fcn.006e6b64
push edi
push dword [ebp - 0x4010]
mov dword [ebp - 0x400c], eax
push str._s__s
push esi
push eax
call fcn.00454100
mov eax, dword [ebp - 0x400c]
add esp, 0x1c
jmp 0x48c5ba
push edi
call fcn.006e718e
add esp, 4
push edi
mov dword [ebx + 0xa4], eax
call fcn.006e60fe
add esp, 4
lea eax, [ebx + 0xa8]
test eax, eax
je 0x48c652
mov edi, dword [eax]
test edi, edi
je 0x48c652
mov eax, dword [ebx + 0x90]
mov dword [ebp - 0x4010], eax
test eax, eax
je 0x48c652
mov ecx, eax
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x48c5f0
sub ecx, edx
je 0x48c63a
mov edx, edi
lea esi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x48c600
sub edx, esi
lea esi, [ecx + 2]
add esi, edx
push 1
push esi
call fcn.006e6b64
push edi
push dword [ebp - 0x4010]
mov dword [ebp - 0x400c], eax
push str._s__s
push esi
push eax
call fcn.00454100
mov eax, dword [ebp - 0x400c]
add esp, 0x1c
jmp 0x48c643
push edi
call fcn.006e718e
add esp, 4
push edi
mov dword [ebx + 0xa8], eax
call fcn.006e60fe
add esp, 4
lea eax, [ebx + 0xac]
test eax, eax
je 0x48c6d9
mov edi, dword [eax]
test edi, edi
je 0x48c6d9
mov eax, dword [ebx + 0x90]
mov dword [ebp - 0x4010], eax
test eax, eax
je 0x48c6d9
mov ecx, eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x48c677
sub ecx, edx
je 0x48c6c1
mov edx, edi
lea esi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x48c687
sub edx, esi
lea esi, [ecx + 2]
add esi, edx
push 1
push esi
call fcn.006e6b64
push edi
push dword [ebp - 0x4010]
mov dword [ebp - 0x400c], eax
push str._s__s
push esi
push eax
call fcn.00454100
mov eax, dword [ebp - 0x400c]
add esp, 0x1c
jmp 0x48c6ca
push edi
call fcn.006e718e
add esp, 4
push edi
mov dword [ebx + 0xac], eax
call fcn.006e60fe
add esp, 4
lea eax, [ebx + 0xb0]
test eax, eax
je 0x48c762
mov edi, dword [eax]
test edi, edi
je 0x48c762
mov eax, dword [ebx + 0x90]
mov dword [ebp - 0x4010], eax
test eax, eax
je 0x48c762
mov ecx, eax
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x48c700
sub ecx, edx
je 0x48c74a
mov edx, edi
lea esi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x48c710
sub edx, esi
lea esi, [ecx + 2]
add esi, edx
push 1
push esi
call fcn.006e6b64
push edi
push dword [ebp - 0x4010]
mov dword [ebp - 0x400c], eax
push str._s__s
push esi
push eax
call fcn.00454100
mov eax, dword [ebp - 0x400c]
add esp, 0x1c
jmp 0x48c753
push edi
call fcn.006e718e
add esp, 4
push edi
mov dword [ebx + 0xb0], eax
call fcn.006e60fe
add esp, 4
lea eax, [ebx + 0xb4]
test eax, eax
je 0x48c7e9
mov edi, dword [eax]
test edi, edi
je 0x48c7e9
mov eax, dword [ebx + 0x90]
mov dword [ebp - 0x4010], eax
test eax, eax
je 0x48c7e9
mov ecx, eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x48c787
sub ecx, edx
je 0x48c7d1
mov edx, edi
lea esi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x48c797
sub edx, esi
lea esi, [ecx + 2]
add esi, edx
push 1
push esi
call fcn.006e6b64
push edi
push dword [ebp - 0x4010]
mov dword [ebp - 0x400c], eax
push str._s__s
push esi
push eax
call fcn.00454100
mov eax, dword [ebp - 0x400c]
add esp, 0x1c
jmp 0x48c7da
push edi
call fcn.006e718e
add esp, 4
push edi
mov dword [ebx + 0xb4], eax
call fcn.006e60fe
add esp, 4
lea eax, [ebx + 0xb8]
test eax, eax
je 0x48c872
mov edi, dword [eax]
test edi, edi
je 0x48c872
mov eax, dword [ebx + 0x90]
mov dword [ebp - 0x4010], eax
test eax, eax
je 0x48c872
mov ecx, eax
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x48c810
sub ecx, edx
je 0x48c85a
mov edx, edi
lea esi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x48c820
sub edx, esi
lea esi, [ecx + 2]
add esi, edx
push 1
push esi
call fcn.006e6b64
push edi
push dword [ebp - 0x4010]
mov dword [ebp - 0x400c], eax
push str._s__s
push esi
push eax
call fcn.00454100
mov eax, dword [ebp - 0x400c]
add esp, 0x1c
jmp 0x48c863
push edi
call fcn.006e718e
add esp, 4
push edi
mov dword [ebx + 0xb8], eax
call fcn.006e60fe
add esp, 4
lea eax, [ebx + 0x9c]
test eax, eax
je 0x48c8f9
mov edi, dword [eax]
test edi, edi
je 0x48c8f9
mov eax, dword [ebx + 0x90]
mov dword [ebp - 0x4010], eax
test eax, eax
je 0x48c8f9
mov ecx, eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x48c897
sub ecx, edx
je 0x48c8e1
mov edx, edi
lea esi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x48c8a7
sub edx, esi
lea esi, [ecx + 2]
add esi, edx
push 1
push esi
call fcn.006e6b64
push edi
push dword [ebp - 0x4010]
mov dword [ebp - 0x400c], eax
push str._s__s
push esi
push eax
call fcn.00454100
mov eax, dword [ebp - 0x400c]
add esp, 0x1c
jmp 0x48c8ea
push edi
call fcn.006e718e
add esp, 4
push edi
mov dword [ebx + 0x9c], eax
call fcn.006e60fe
add esp, 4
mov esi, dword [ebp - 0x4018]
jmp 0x48c920
lea eax, [ebp - 0x4008]
push eax
push str.WARN:_Unable_to_parse_config_file_n___s_n
push 2
call fcn.006f0deb
add esp, 4
push eax
call fcn.0048aae0
add esp, 0xc
mov eax, dword [ebp - 0x4014]
test eax, eax
je 0x48c933
push eax
call fcn.006e60fe
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006dbabd
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006dbabd
mov esp, ebp
pop ebp
ret