Function at 0x4d88c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6d11ad
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x75aa5c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x76411c], 0
je 0x4d88fb
mov eax, dword [0x76411c]
jmp 0x4d9186
push 0x160
call fcn.005a7c1e
add esp, 4
mov dword [ebp - 0x40], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x40], 0
je 0x4d8928
mov ecx, dword [ebp - 0x40]
call fcn.004d8670
mov dword [ebp - 0x8c], eax
jmp 0x4d8932
mov dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x3c]
mov dword [0x76411c], ecx
cmp dword [0x76411c], 0
jne 0x4d895e
mov eax, dword [0x76411c]
jmp 0x4d9186
push 0x6fb808
push str.APPCONFIG.XML
mov ecx, 0x765d2c
call fcn.00427a10
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x4d89c8
mov edx, dword [0x76411c]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
je 0x4d89ad
push 1
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x44]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x90], eax
jmp 0x4d89b7
mov dword [ebp - 0x90], 0
mov dword [0x76411c], 0
xor eax, eax
jmp 0x4d9186
mov ecx, dword [ebp - 0x30]
push ecx
mov ecx, 0x765d2c
call fcn.00427a10
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x4d8a2c
mov edx, dword [0x76411c]
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
je 0x4d8a11
push 1
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x4c]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x94], eax
jmp 0x4d8a1b
mov dword [ebp - 0x94], 0
mov dword [0x76411c], 0
xor eax, eax
jmp 0x4d9186
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4d8a85
mov edx, dword [0x76411c]
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
je 0x4d8a6a
push 1
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x54]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x98], eax
jmp 0x4d8a74
mov dword [ebp - 0x98], 0
mov dword [0x76411c], 0
xor eax, eax
jmp 0x4d9186
mov ecx, dword [ebp - 0x30]
push ecx
mov ecx, 0x765d2c
call fcn.00427a10
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4d8ae9
mov edx, dword [0x76411c]
mov dword [ebp - 0x60], edx
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
je 0x4d8ace
push 1
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x5c]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x9c], eax
jmp 0x4d8ad8
mov dword [ebp - 0x9c], 0
mov dword [0x76411c], 0
xor eax, eax
jmp 0x4d9186
lea ecx, [ebp - 0x2c]
call fcn.004877f0
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x10]
push edx
lea ecx, [ebp - 0x2c]
call fcn.00487990
movzx eax, al
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x4d8b71
mov ecx, dword [0x76411c]
mov dword [ebp - 0x68], ecx
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x64], edx
cmp dword [ebp - 0x64], 0
je 0x4d8b3f
push 1
mov eax, dword [ebp - 0x64]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x64]
mov eax, dword [edx]
call eax
mov dword [ebp - 0xa0], eax
jmp 0x4d8b49
mov dword [ebp - 0xa0], 0
mov dword [0x76411c], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00487820
mov eax, dword [ebp - 0x6c]
jmp 0x4d9186
lea ecx, [ebp - 0x74]
push ecx
lea edx, [ebp - 0x70]
push edx
lea ecx, [ebp - 0x2c]
call fcn.00487ad0
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0xa4]
call fcn.0040b2e0
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x18]
call fcn.00405550
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
call fcn.00405560
lea ecx, [ebp - 0x7c]
push ecx
lea edx, [ebp - 0x78]
push edx
lea ecx, [ebp - 0x18]
call fcn.00405590
mov ecx, eax
call fcn.004872f0
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0xa8]
call fcn.0040b300
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00405520
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x78]
call fcn.00405530
mov dword [ebp - 0x34], 0
jmp 0x4d8bfa
mov ecx, dword [ebp - 0x34]
add ecx, 1
mov dword [ebp - 0x34], ecx
lea ecx, [ebp - 0x1c]
call fcn.00405540
mov ecx, eax
call fcn.004881d0
cmp dword [ebp - 0x34], eax
jae 0x4d914d
lea edx, [ebp - 0x84]
push edx
mov eax, dword [ebp - 0x34]
push eax
lea ecx, [ebp - 0x80]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00405540
mov ecx, eax
call fcn.00487ea0
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0xac]
call fcn.0040b2e0
mov edx, dword [eax]
push edx
lea ecx, [ebp - 0x38]
call fcn.00405550
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x80]
call fcn.00405560
push str.AFFID
lea ecx, [ebp - 0x38]
call fcn.00405590
mov ecx, eax
call fcn.004870e0
push eax
call fcn.005a7ebb
add esp, 8
test eax, eax
jne 0x4d8cb6
lea ecx, [ebp - 0x38]
call fcn.00405590
mov ecx, eax
call fcn.00487290
test eax, eax
je 0x4d8cb6
push 0
push 0
lea ecx, [ebp - 0x38]
call fcn.00405590
mov ecx, eax
call fcn.00487290
push eax
call fcn.005a8a4e
add esp, 0xc
mov ecx, dword [0x76411c]
mov dword [ecx + 4], eax
jmp 0x4d913c
push str.DEFGROUP
lea ecx, [ebp - 0x38]
call fcn.00405590
mov ecx, eax
call fcn.004870e0
push eax
call fcn.005a7ebb
add esp, 8
test eax, eax
jne 0x4d8d14
lea ecx, [ebp - 0x38]
call fcn.00405590
mov ecx, eax
call fcn.00487290
test eax, eax
je 0x4d8d14
push 0
push 0
lea ecx, [ebp - 0x38]
call fcn.00405590
mov ecx, eax
call fcn.00487290
push eax
call fcn.005a8a4e
add esp, 0xc
mov edx, dword [0x76411c]
mov dword [edx + 8], eax
jmp 0x4d913c
push str.ABOUTCAPTION
lea ecx, [ebp - 0x38]
call fcn.00405590
mov ecx, eax
call fcn.004870e0
push eax
call fcn.005a7ebb
add esp, 8
test eax, eax
jne 0x4d8d6b
lea ecx, [ebp - 0x38]
call fcn.00405590
mov ecx, eax
call fcn.00487290
test eax, eax
je 0x4d8d6b
lea ecx, [ebp - 0x38]
call fcn.00405590
mov ecx, eax
call fcn.00487290
push eax
mov ecx, dword [0x76411c]
add ecx, 0xc
call fcn.00405460
jmp 0x4d913c
push str.ABOUTPAGE
lea ecx, [ebp - 0x38]
call fcn.00405590
mov ecx, eax
call fcn.004870e0
push eax
call fcn.005a7ebb
add esp, 8
test eax, eax
jne 0x4d8dc2
lea ecx, [ebp - 0x38]
call fcn.00405590
mov ecx, eax
call fcn.00487290
test eax, eax
je 0x4d8dc2
lea ecx, [ebp - 0x38]
call fcn.00405590
mov ecx, eax
call fcn.00487290
push eax
mov ecx, dword [0x76411c]
add ecx, 0x28
call fcn.00405460
jmp 0x4d913c
push str.STARTURL
lea ecx, [ebp - 0x38]
call fcn.00405590
mov ecx, eax
call fcn.004870e0
push eax
call fcn.005a7ebb
add esp, 8
test eax, eax
jne 0x4d8e19
lea ecx, [ebp - 0x38]
call fcn.00405590
mov ecx, eax
call fcn.00487290
test eax, eax
je 0x4d8e19
lea ecx, [ebp - 0x38]
call fcn.00405590
mov ecx, eax
call fcn.00487290
push eax
mov ecx, dword [0x76411c]
add ecx, 0x44
call fcn.00405460
jmp 0x4d913c
push str.TRAYANICOUNT
lea ecx, [ebp - 0x38]
call fcn.00405590
mov ecx, eax
call fcn.004870e0
push eax
call fcn.005a7ebb
add esp, 8
test eax, eax
jne 0x4d8e77
lea ecx, [ebp - 0x38]
call fcn.00405590
mov ecx, eax
call fcn.00487290
test eax, eax
je 0x4d8e77
push 0
push 0
lea ecx, [ebp - 0x38]
call fcn.00405590
mov ecx, eax
call fcn.00487290
push eax
call fcn.005a8a4e
add esp, 0xc
mov ecx, dword [0x76411c]
mov dword [ecx + 0x60], eax
jmp 0x4d913c
push str.RDMAPPINGFILE
lea ecx, [ebp - 0x38]
call fcn.00405590
mov ecx, eax
call fcn.004870e0
push eax
call fcn.005a7ebb
add esp, 8
test eax, eax
jne 0x4d8ece
lea ecx, [ebp - 0x38]
call fcn.00405590
mov ecx, eax
call fcn.00487290
test eax, eax
je 0x4d8ece
lea ecx, [ebp - 0x38]
call fcn.00405590
mov ecx, eax
call fcn.00487290
push eax
mov ecx, dword [0x76411c]
add ecx, 0x64
call fcn.00405460
jmp 0x4d913c
push str.PARTNERNAME
lea ecx, [ebp - 0x38]
call fcn.00405590
mov ecx, eax
call fcn.004870e0
push eax
call fcn.005a7ebb
add esp, 8
test eax, eax
jne 0x4d8f28
lea ecx, [ebp - 0x38]
call fcn.00405590
mov ecx, eax
call fcn.00487290
test eax, eax
je 0x4d8f28
lea ecx, [ebp - 0x38]
call fcn.00405590
mov ecx, eax
call fcn.00487290
push eax
mov ecx, dword [0x76411c]
add ecx, 0x80
call fcn.00405460
jmp 0x4d913c
push str.PRODUCTOWNER
lea ecx, [ebp - 0x38]
call fcn.00405590
mov ecx, eax
call fcn.004870e0
push eax
call fcn.005a7ebb
add esp, 8
test eax, eax
jne 0x4d8f82
lea ecx, [ebp - 0x38]
call fcn.00405590
mov ecx, eax
call fcn.00487290
test eax, eax
je 0x4d8f82
lea ecx, [ebp - 0x38]
call fcn.00405590
mov ecx, eax
call fcn.00487290
push eax
mov ecx, dword [0x76411c]
add ecx, 0x9c
call fcn.00405460
jmp 0x4d913c
push str.PRODUCTNAME
lea ecx, [ebp - 0x38]
call fcn.00405590
mov ecx, eax
call fcn.004870e0
push eax
call fcn.005a7ebb
add esp, 8
test eax, eax
jne 0x4d8fdc
lea ecx, [ebp - 0x38]
call fcn.00405590
mov ecx, eax
call fcn.00487290
test eax, eax
je 0x4d8fdc
lea ecx, [ebp - 0x38]
call fcn.00405590
mov ecx, eax
call fcn.00487290
push eax
mov ecx, dword [0x76411c]
add ecx, 0xb8
call fcn.00405460
jmp 0x4d913c
push str.PLAYERSMUTEXOBJNAME
lea ecx, [ebp - 0x38]
call fcn.00405590
mov ecx, eax
call fcn.004870e0
push eax
call fcn.005a7ebb
add esp, 8
test eax, eax
jne 0x4d9036
lea ecx, [ebp - 0x38]
call fcn.00405590
mov ecx, eax
call fcn.00487290
test eax, eax
je 0x4d9036
lea ecx, [ebp - 0x38]
call fcn.00405590
mov ecx, eax
call fcn.00487290
push eax
mov ecx, dword [0x76411c]
add ecx, 0xd4
call fcn.00405460
jmp 0x4d913c
push str.WEBSITE
lea ecx, [ebp - 0x38]
call fcn.00405590
mov ecx, eax
call fcn.004870e0
push eax
call fcn.005a7ebb
add esp, 8
test eax, eax
jne 0x4d9090
lea ecx, [ebp - 0x38]
call fcn.00405590
mov ecx, eax
call fcn.00487290
test eax, eax
je 0x4d9090
lea ecx, [ebp - 0x38]
call fcn.00405590
mov ecx, eax
call fcn.00487290
push eax
mov ecx, dword [0x76411c]
add ecx, 0xf0
call fcn.00405460
jmp 0x4d913c
push str.PRODUCT
lea ecx, [ebp - 0x38]
call fcn.00405590
mov ecx, eax
call fcn.004870e0
push eax
call fcn.005a7ebb
add esp, 8
test eax, eax
jne 0x4d90e7
lea ecx, [ebp - 0x38]
call fcn.00405590
mov ecx, eax
call fcn.00487290
test eax, eax
je 0x4d90e7
lea ecx, [ebp - 0x38]
call fcn.00405590
mov ecx, eax
call fcn.00487290
push eax
mov ecx, dword [0x76411c]
add ecx, 0x10c
call fcn.00405460
jmp 0x4d913c
push str.RDINITEVENT
lea ecx, [ebp - 0x38]
call fcn.00405590
mov ecx, eax
call fcn.004870e0
push eax
call fcn.005a7ebb
add esp, 8
test eax, eax
jne 0x4d913c
lea ecx, [ebp - 0x38]
call fcn.00405590
mov ecx, eax
call fcn.00487290
test eax, eax
je 0x4d913c
lea ecx, [ebp - 0x38]
call fcn.00405590
mov ecx, eax
call fcn.00487290
push eax
mov ecx, dword [0x76411c]
add ecx, 0x128
call fcn.00405460
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
call fcn.00405560
jmp 0x4d8bf1
mov edx, dword [0x76411c]
mov dword [ebp - 0x88], edx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.00405530
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00405560
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00487820
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret