Function at 0x41c070
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dbdf4
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x5246f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [edi + 0x20]
mov ecx, dword [eax + 4]
push ecx
lea ecx, [edi + 0x1c]
call fcn.0041ef60
mov eax, dword [edi + 0x20]
mov dword [eax + 4], eax
mov eax, dword [edi + 0x20]
mov dword [eax], eax
mov eax, dword [edi + 0x20]
mov dword [eax + 8], eax
xor ebx, ebx
mov dword [edi + 0x24], ebx
mov dx, word [0x526b28]
mov word [edi + 0x18], dx
mov eax, dword [str.en_US]
mov dword [ebp - 0x254], eax
xor eax, eax
lea ebx, [ebx]
mov cx, word [ebp + 8]
cmp cx, word [eax*8 + 0x526b28]
je 0x41c0f6
inc eax
cmp eax, 4
jb 0x41c0e0
jmp 0x41c10f
mov dx, word [eax*8 + 0x526b28]
mov word [edi + 0x18], dx
mov eax, dword [eax*8 + 0x526b2c]
mov dword [ebp - 0x254], eax
push 0x206
lea edx, [ebp - 0x216]
xor ecx, ecx
push ebx
push edx
mov word [ebp - 0x218], cx
call fcn.00463ac0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x218]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x218]
push 0x2e
push ecx
call fcn.0045ffb5
xor edx, edx
mov word [eax + 2], dx
lea eax, [ebp - 0x218]
push 0x5c
push eax
call fcn.0045ffb5
xor ecx, ecx
mov esi, eax
add esp, 0x10
lea edx, [ebp - 0x218]
mov word [esi], cx
push edx
lea ecx, [ebp - 0x234]
call fcn.00405d80
push str.lang_
lea ecx, [ebp - 0x234]
mov dword [ebp - 4], ebx
call fcn.00403be0
add esi, 2
push esi
lea ecx, [ebp - 0x234]
call fcn.00403be0
mov esi, dword [ebp - 0x254]
push esi
lea ecx, [ebp - 0x234]
call fcn.00403be0
push 0x511914
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x254], ebx
call fcn.00404cf0
push eax
call fcn.0046112e
add esp, 8
mov dword [ebp - 0x258], eax
cmp eax, ebx
je 0x41c300
push 0x78
call fcn.0045f789
mov esi, eax
add esp, 4
mov dword [ebp - 0x25c], esi
cmp esi, ebx
je 0x41c261
or eax, 0xffffffff
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea ecx, [esi + 0x20]
mov dword [esi + 0xc], ebx
mov dword [esi], vtable.TiXmlNode.0
call fcn.00404d30
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
lea ecx, [esi + 0x4c]
mov dword [esi], vtable.TiXmlDocument.0
call fcn.00404d30
mov byte [ebp - 4], 3
or eax, 0xffffffff
mov dword [esi + 0x70], eax
mov dword [esi + 0x6c], eax
push 0x5126a3
lea ecx, [esi + 0x4c]
mov dword [esi + 0x68], 4
mov byte [esi + 0x74], bl
mov byte [esi + 0x44], bl
mov dword [esi + 0x48], ebx
call fcn.00405380
mov dword [esi + 0x70], ebx
mov dword [esi + 0x6c], ebx
jmp 0x41c263
xor esi, esi
mov byte [ebp - 4], bl
mov ecx, dword [edi + 4]
cmp esi, ecx
je 0x41c27c
cmp ecx, ebx
je 0x41c279
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [edi + 4], esi
mov eax, dword [ebp - 0x258]
mov esi, dword [edi + 4]
push eax
call fcn.004440e0
test al, al
je 0x41c2dd
mov ecx, dword [edi + 4]
mov esi, dword [ecx + 0x18]
cmp esi, ebx
je 0x41c2dd
lea esp, [esp]
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
test eax, eax
jne 0x41c2b6
mov esi, dword [esi + 0x40]
cmp esi, ebx
jne 0x41c2a0
jmp 0x41c2dd
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
cmp eax, ebx
je 0x41c2dd
lea ecx, [eax + 0x20]
call fcn.00404d10
push str.strings
push eax
call fcn.00460c52
add esp, 8
test eax, eax
je 0x41c2e7
mov dword [ebp - 0x254], 4
mov ecx, dword [ebp - 0x258]
push ecx
call fcn.004611b2
add esp, 4
call fcn.00422d30
jmp 0x41c4b7
push str.LANG
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x258], eax
cmp eax, ebx
jne 0x41c326
mov dword [ebp - 0x254], 4
jmp 0x41c4b7
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
cmp esi, ebx
je 0x41c317
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edx, dword [ebp - 0x258]
push edx
push ebx
mov dword [ebp - 0x25c], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [ebp - 0x250]
mov dword [ebp - 0x258], eax
call fcn.00404d30
mov eax, dword [ebp - 0x258]
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x25c]
push eax
push ecx
lea ecx, [ebp - 0x250]
call fcn.004052c0
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
push 0x78
call fcn.0045f789
mov esi, eax
add esp, 4
mov dword [ebp - 0x25c], esi
cmp esi, ebx
je 0x41c406
or eax, 0xffffffff
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea ecx, [esi + 0x20]
mov dword [esi + 0xc], ebx
mov dword [esi], vtable.TiXmlNode.0
call fcn.00404d30
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
lea ecx, [esi + 0x4c]
mov dword [esi], vtable.TiXmlDocument.0
call fcn.00404d30
mov byte [ebp - 4], 7
or eax, 0xffffffff
mov dword [esi + 0x70], eax
mov dword [esi + 0x6c], eax
push 0x5126a3
lea ecx, [esi + 0x4c]
mov dword [esi + 0x68], 4
mov byte [esi + 0x74], bl
mov byte [esi + 0x44], bl
mov dword [esi + 0x48], ebx
call fcn.00405380
mov dword [esi + 0x70], ebx
mov dword [esi + 0x6c], ebx
jmp 0x41c408
xor esi, esi
mov byte [ebp - 4], 4
mov ecx, dword [edi + 4]
cmp esi, ecx
je 0x41c422
cmp ecx, ebx
je 0x41c41f
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [edi + 4], esi
mov eax, dword [edi + 4]
mov esi, dword [eax]
push ebx
push ebx
lea ecx, [ebp - 0x250]
mov dword [ebp - 0x25c], eax
call fcn.00404d10
mov ecx, dword [ebp - 0x25c]
mov edx, dword [esi + 8]
push eax
call edx
test eax, eax
jne 0x41c456
mov dword [ebp - 0x254], 4
jmp 0x41c4ac
mov eax, dword [edi + 4]
mov esi, dword [eax + 0x18]
cmp esi, ebx
je 0x41c44a
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
test eax, eax
jne 0x41c480
mov esi, dword [esi + 0x40]
cmp esi, ebx
jne 0x41c460
mov dword [ebp - 0x254], 4
jmp 0x41c4ac
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
cmp eax, ebx
je 0x41c44a
lea ecx, [eax + 0x20]
call fcn.00404d10
push str.strings
push eax
call fcn.00460c52
add esp, 8
test eax, eax
jne 0x41c44a
call fcn.00422d30
lea ecx, [ebp - 0x250]
call fcn.00405520
lea ecx, [ebp - 0x234]
call fcn.00405540
mov eax, dword [ebp - 0x254]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045f522
mov esp, ebp
pop ebp
ret 4