Function at 0x40adf0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x509f34
mov eax, dword fs:[0]
push eax
sub esp, 0x8c8
mov eax, dword [0x5655bc]
xor eax, ebp
mov dword [ebp - 0x68], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x8cc], ecx
push 0x10
call fcn.0045a5e1
add esp, 4
mov dword [ebp - 0x880], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x880], 0
je 0x40ae54
mov ecx, dword [ebp - 0x880]
call fcn.004221d0
mov dword [ebp - 0x8d0], eax
jmp 0x40ae5e
mov dword [ebp - 0x8d0], 0
mov eax, dword [ebp - 0x8d0]
mov dword [ebp - 0x87c], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x8cc]
mov edx, dword [ebp - 0x87c]
mov dword [ecx + 0x2ac], edx
mov eax, dword [ebp - 0x8cc]
cmp dword [eax + 0x2ac], 0
jne 0x40ae97
jmp 0x40b294
lea ecx, [ebp - 0x64]
call fcn.004ae550
mov dword [ebp - 4], 1
mov dword [ebp - 0x18], 0
push 0x513ed4
push str.CONFIGUREDATA
mov ecx, dword [ebp - 0x8cc]
mov edx, dword [ecx + 0x14e4]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x864], eax
cmp dword [ebp - 0x864], 0
jne 0x40aeed
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.0040cb50
jmp 0x40b294
mov eax, dword [ebp - 0x864]
push eax
mov ecx, dword [ebp - 0x8cc]
mov edx, dword [ecx + 0x14e4]
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x85c], eax
mov eax, dword [ebp - 0x85c]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x848], eax
mov ecx, dword [ebp - 0x864]
push ecx
mov edx, dword [ebp - 0x8cc]
mov eax, dword [edx + 0x14e4]
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
add ecx, 1
push ecx
call fcn.0045a611
add esp, 4
mov dword [ebp - 0x884], eax
mov edx, dword [ebp - 0x884]
mov dword [ebp - 0x84c], edx
mov eax, dword [ebp - 0x14]
add eax, 1
push eax
push 0
mov ecx, dword [ebp - 0x84c]
push ecx
call fcn.00463a20
add esp, 0xc
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x848]
push eax
mov ecx, dword [ebp - 0x84c]
push ecx
call fcn.00465720
add esp, 0xc
push 0
push 0
mov edx, dword [ebp - 0x84c]
push edx
lea ecx, [ebp - 0x64]
call fcn.004b0830
push 0x513efc
lea ecx, [ebp - 0x64]
call fcn.004adbe0
mov dword [ebp - 0x458], eax
cmp dword [ebp - 0x458], 0
jne 0x40b001
cmp dword [ebp - 0x84c], 0
je 0x40afed
mov eax, dword [ebp - 0x84c]
mov dword [ebp - 0x888], eax
mov ecx, dword [ebp - 0x888]
push ecx
call fcn.0045a60c
add esp, 4
mov dword [ebp - 0x84c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.0040cb50
jmp 0x40b294
mov dword [ebp - 0x860], 0
mov dword [ebp - 0x850], 0
mov dword [ebp - 0x858], 0
mov word [ebp - 0x454], 0
push 0x3e6
push 0
lea edx, [ebp - 0x452]
push edx
call fcn.00463a20
add esp, 0xc
mov word [ebp - 0x844], 0
push 0x3e6
push 0
lea eax, [ebp - 0x842]
push eax
call fcn.00463a20
add esp, 0xc
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x854], 0
push 0x513f0c
mov ecx, dword [ebp - 0x458]
call fcn.004adbe0
mov dword [ebp - 0x860], eax
cmp dword [ebp - 0x860], 0
je 0x40b285
mov ecx, dword [ebp - 0x860]
call fcn.004adbb0
mov dword [ebp - 0x850], eax
cmp dword [ebp - 0x850], 0
je 0x40b285
push 8
call fcn.0045a5e1
add esp, 4
mov dword [ebp - 0x890], eax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x890], 0
je 0x40b0df
mov ecx, dword [ebp - 0x890]
call fcn.00410c20
mov dword [ebp - 0x8d4], eax
jmp 0x40b0e9
mov dword [ebp - 0x8d4], 0
mov ecx, dword [ebp - 0x8d4]
mov dword [ebp - 0x88c], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x88c]
mov dword [ebp - 0x868], edx
mov ecx, dword [ebp - 0x850]
call fcn.004adbb0
mov dword [ebp - 0x858], eax
cmp dword [ebp - 0x858], 0
je 0x40b257
mov dword [ebp - 0x870], 0
mov dword [ebp - 0x86c], 0
mov dword [ebp - 0x878], 0
mov ecx, dword [ebp - 0x858]
call fcn.0040cb10
mov dword [ebp - 0x870], eax
mov ecx, dword [ebp - 0x858]
call fcn.00456c40
mov dword [ebp - 0x874], eax
cmp dword [ebp - 0x874], 0
je 0x40b185
mov eax, dword [ebp - 0x874]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x874]
mov eax, dword [edx + 0x30]
call eax
mov dword [ebp - 0x854], eax
cmp dword [ebp - 0x854], 0
jne 0x40b19a
mov dword [ebp - 0x86c], 0
jmp 0x40b1ab
mov ecx, dword [ebp - 0x854]
call fcn.0040cb10
mov dword [ebp - 0x86c], eax
lea ecx, [ebp - 0x454]
push ecx
mov edx, dword [ebp - 0x870]
push edx
call fcn.00437b90
add esp, 8
lea eax, [ebp - 0x844]
push eax
mov ecx, dword [ebp - 0x86c]
push ecx
call fcn.00437b90
add esp, 8
lea edx, [ebp - 0x844]
push edx
lea ecx, [ebp - 0x8ac]
call fcn.00401c80
mov byte [ebp - 4], 3
lea eax, [ebp - 0x454]
push eax
lea ecx, [ebp - 0x8c8]
call fcn.00401c80
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x8ac]
push ecx
lea edx, [ebp - 0x8c8]
push edx
mov eax, dword [ebp - 0x868]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x868]
mov eax, dword [edx]
call eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x8c8]
call fcn.00401cc0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x8ac]
call fcn.00401cc0
mov ecx, dword [ebp - 0x858]
call fcn.004adc20
mov dword [ebp - 0x858], eax
jmp 0x40b116
lea ecx, [ebp - 0x868]
push ecx
mov edx, dword [ebp - 0x8cc]
mov ecx, dword [edx + 0x2ac]
call fcn.0040d0f0
mov ecx, dword [ebp - 0x850]
call fcn.004adc20
mov dword [ebp - 0x850], eax
jmp 0x40b0a2
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.0040cb50
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x68]
xor ecx, ebp
call fcn.00463a0b
mov esp, ebp
pop ebp
ret