Function at 0x40c2c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x453d34
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x46d674]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x20]
mov ecx, dword [eax + 4]
push ecx
lea ecx, [edi + 0x1c]
mov dword [ebp - 0x25c], edi
call fcn.00409f10
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 [0x46e9e0]
mov word [edi + 0x18], dx
mov eax, dword [str.en_US]
mov dword [ebp - 0x254], eax
xor eax, eax
jmp 0x40c340
mov cx, word [ebp + 8]
cmp cx, word [eax*8 + 0x46e9e0]
je 0x40c356
inc eax
cmp eax, 4
jb 0x40c340
jmp 0x40c36f
mov dx, word [eax*8 + 0x46e9e0]
mov word [edi + 0x18], dx
mov eax, dword [eax*8 + 0x46e9e4]
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.00446e60
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.0043f4ca
xor edx, edx
mov word [eax + 2], dx
lea eax, [ebp - 0x218]
push 0x5c
push eax
call fcn.0043f4ca
mov edi, eax
xor ecx, ecx
add esp, 0x10
mov word [edi], cx
xor edx, edx
lea eax, [ebp - 0x218]
mov word [ebp - 0x250], dx
mov dword [ebp - 0x23c], 7
mov dword [ebp - 0x240], ebx
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40c3f0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
lea esi, [ebp - 0x250]
call fcn.00401490
push 6
mov eax, str.lang_
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.00403510
lea eax, [edi + 2]
mov ecx, eax
lea esi, [ecx + 2]
lea ebx, [ebx]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x40c430
sub ecx, esi
sar ecx, 1
push ecx
lea ecx, [ebp - 0x250]
call fcn.00403510
mov esi, dword [ebp - 0x254]
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40c456
sub eax, edx
sar eax, 1
push eax
mov eax, esi
lea ecx, [ebp - 0x250]
call fcn.00403510
cmp dword [ebp - 0x23c], 8
mov eax, dword [ebp - 0x250]
mov dword [ebp - 0x254], ebx
jae 0x40c48e
lea eax, [ebp - 0x250]
push 0x459efc
push eax
call fcn.0043fb52
add esp, 8
mov dword [ebp - 0x258], eax
cmp eax, ebx
je 0x40c5e9
push 0x78
call fcn.0043ecc8
mov esi, eax
add esp, 4
mov dword [ebp - 0x260], esi
cmp esi, ebx
je 0x40c52a
or eax, 0xffffffff
mov dword [esi + 8], eax
mov dword [esi + 4], eax
mov dword [esi + 0xc], ebx
mov dword [esi + 0x30], ebx
mov edi, 0xf
mov dword [esi + 0x34], edi
mov byte [esi + 0x20], bl
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
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], ebx
mov byte [ecx], bl
mov byte [ebp - 4], 3
mov dword [esi + 0x70], eax
mov dword [esi + 0x6c], eax
push ebx
push 0x459d12
mov dword [esi + 0x68], 4
mov byte [esi + 0x74], bl
mov byte [esi + 0x44], bl
mov dword [esi + 0x48], ebx
call fcn.00407290
mov dword [esi + 0x70], ebx
mov dword [esi + 0x6c], ebx
jmp 0x40c52c
xor esi, esi
mov edi, dword [ebp - 0x25c]
mov byte [ebp - 4], bl
mov ecx, dword [edi + 4]
cmp esi, ecx
je 0x40c54b
cmp ecx, ebx
je 0x40c548
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.00439cc0
test al, al
je 0x40c5a8
mov ecx, dword [edi + 4]
mov esi, dword [ecx + 0x18]
cmp esi, ebx
je 0x40c5a8
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
test eax, eax
jne 0x40c57e
mov esi, dword [esi + 0x40]
cmp esi, ebx
jne 0x40c568
jmp 0x40c5a8
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
cmp eax, ebx
je 0x40c5a8
add eax, 0x20
cmp dword [eax + 0x14], 0x10
jb 0x40c596
mov eax, dword [eax]
push str.strings
push eax
call fcn.0043f89e
add esp, 8
test eax, eax
je 0x40c5b2
mov dword [ebp - 0x254], 4
mov ecx, dword [ebp - 0x258]
push ecx
call fcn.0043fbd6
add esp, 4
call fcn.0041add0
cmp dword [ebp - 0x23c], 8
jb 0x40c5de
mov edx, dword [ebp - 0x250]
push edx
call fcn.0043e981
add esp, 4
mov eax, dword [ebp - 0x254]
jmp 0x40c80a
push str.LANG
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, ebx
jne 0x40c606
mov esi, 4
jmp 0x40c7f0
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
cmp esi, ebx
jne 0x40c61e
mov esi, 4
jmp 0x40c7f0
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push ebx
mov dword [ebp - 0x258], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, 0xf
mov dword [ebp - 0x220], edi
mov dword [ebp - 0x224], ebx
mov byte [ebp - 0x234], bl
push eax
mov eax, dword [ebp - 0x258]
push eax
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 4
call fcn.00407290
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
push 0x78
call fcn.0043ecc8
mov esi, eax
add esp, 4
mov dword [ebp - 0x260], esi
cmp esi, ebx
je 0x40c6e3
or eax, 0xffffffff
mov dword [esi + 8], eax
mov dword [esi + 4], eax
mov dword [esi + 0xc], ebx
mov dword [esi + 0x34], edi
mov dword [esi + 0x30], ebx
mov byte [esi + 0x20], bl
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
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], ebx
mov byte [ecx], bl
mov byte [ebp - 4], 7
mov dword [esi + 0x70], eax
mov dword [esi + 0x6c], eax
push ebx
push 0x459d12
mov dword [esi + 0x68], 4
mov byte [esi + 0x74], bl
mov byte [esi + 0x44], bl
mov dword [esi + 0x48], ebx
call fcn.00407290
mov dword [esi + 0x70], ebx
mov dword [esi + 0x6c], ebx
jmp 0x40c6e5
xor esi, esi
mov edi, dword [ebp - 0x25c]
mov byte [ebp - 4], 4
mov ecx, dword [edi + 4]
cmp esi, ecx
je 0x40c705
cmp ecx, ebx
je 0x40c702
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [edi + 4], esi
cmp dword [ebp - 0x220], 0x10
mov ecx, dword [edi + 4]
mov eax, dword [ebp - 0x234]
jae 0x40c71d
lea eax, [ebp - 0x234]
mov edx, dword [ecx]
push ebx
push ebx
push eax
mov eax, dword [edx + 8]
call eax
test eax, eax
jne 0x40c751
cmp dword [ebp - 0x220], 0x10
mov esi, 4
jb 0x40c7f0
mov ecx, dword [ebp - 0x234]
push ecx
call fcn.0043e981
add esp, 4
jmp 0x40c7f0
mov edx, dword [edi + 4]
mov esi, dword [edx + 0x18]
cmp esi, ebx
je 0x40c783
jmp 0x40c760
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
mov ecx, esi
call edx
test eax, eax
jne 0x40c776
mov esi, dword [esi + 0x40]
cmp esi, ebx
jne 0x40c760
jmp 0x40c783
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
mov ecx, esi
call edx
cmp eax, ebx
jne 0x40c7a2
cmp dword [ebp - 0x220], 0x10
mov esi, 4
jb 0x40c7f0
mov eax, dword [ebp - 0x234]
push eax
call fcn.0043e981
add esp, 4
jmp 0x40c7f0
add eax, 0x20
mov edi, 0x10
cmp dword [eax + 0x14], edi
jb 0x40c7b1
mov eax, dword [eax]
push str.strings
push eax
call fcn.0043f89e
add esp, 8
test eax, eax
je 0x40c7ce
cmp dword [ebp - 0x220], edi
jmp 0x40c732
call fcn.0041add0
cmp dword [ebp - 0x220], edi
jb 0x40c7ea
mov edx, dword [ebp - 0x234]
push edx
call fcn.0043e981
add esp, 4
mov esi, dword [ebp - 0x254]
cmp dword [ebp - 0x23c], 8
jb 0x40c808
mov eax, dword [ebp - 0x250]
push eax
call fcn.0043e981
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043e417
mov esp, ebp
pop ebp
ret 4