Function at 0x519590
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cb0ae
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x70c0f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4c], ecx
call fcn.00447430
mov ecx, eax
call fcn.004d6330
push eax
lea ecx, [ebp - 0x28]
call fcn.00446660
mov dword [ebp - 4], 0
push str.SettingAlgorithmConfig.xml
lea ecx, [ebp - 0x28]
call fcn.004465f0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
push ecx
call fcn.004db8c9
add esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xc8]
call fcn.0047b320
mov byte [ebp - 4], 2
mov dword [ebp - 0x48], 0
movzx edx, byte [ebp + 8]
test edx, edx
je 0x519765
mov dword [ebp - 0x80], 0
call fcn.00447430
mov ecx, eax
call fcn.004a74e9
mov dword [ebp - 0x54], eax
push 0x6022d0
push str.DefAlgorithm.xml
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jne 0x51967f
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xc8]
call fcn.00446460
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00446710
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00446610
jmp 0x51985e
mov ecx, dword [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0x54]
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0x54]
push edx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
add eax, 1
push eax
call fcn.00495ecb
add esp, 4
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x58]
add edx, 1
push edx
push 0
mov eax, dword [ebp - 0x44]
push eax
call fcn.004e1330
add esp, 0xc
mov ecx, dword [ebp - 0x58]
push ecx
mov edx, dword [ebp - 0x70]
push edx
mov eax, dword [ebp - 0x44]
push eax
call fcn.004e60b0
add esp, 0xc
push 0
push 0
mov ecx, dword [ebp - 0x44]
push ecx
lea ecx, [ebp - 0xc8]
call fcn.0047e0c0
push 0x6022fc
lea ecx, [ebp - 0xc8]
call fcn.0047c000
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x519763
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x74], edx
mov eax, dword [ebp - 0x74]
push eax
call fcn.00495c1d
add esp, 4
mov dword [ebp - 0x44], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xc8]
call fcn.00446460
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00446710
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00446610
jmp 0x51985e
jmp 0x51978e
push 1
lea ecx, [ebp - 0x40]
call fcn.004466d0
push eax
lea ecx, [ebp - 0xc8]
call fcn.0047c2d0
push 0x60230c
lea ecx, [ebp - 0xc8]
call fcn.0047c000
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x5197c3
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xc8]
call fcn.00446460
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00446710
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00446610
jmp 0x51985e
push 0x60231c
mov ecx, dword [ebp - 0x48]
call fcn.0047c000
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
je 0x519834
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x78], ecx
mov edx, dword [ebp - 0x4c]
add edx, 0x64
mov dword [ebp - 0x7c], edx
push 0x60232c
mov ecx, dword [ebp - 0x5c]
call fcn.0047c000
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
je 0x51980e
mov eax, dword [ebp - 0x78]
push eax
mov ecx, dword [ebp - 0x60]
push ecx
mov ecx, dword [ebp - 0x4c]
call fcn.00519490
push 0x60233c
mov ecx, dword [ebp - 0x5c]
call fcn.0047c000
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
je 0x519834
mov edx, dword [ebp - 0x7c]
push edx
mov eax, dword [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x4c]
call fcn.00519490
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xc8]
call fcn.00446460
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00446710
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00446610
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00495c0c
mov esp, ebp
pop ebp
ret 8