Function at 0x431950
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aac74
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x4e06b8]
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.00434750
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 [0x4e1f68]
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 + 0x4e1f68]
je 0x4319d6
inc eax
cmp eax, 4
jb 0x4319c0
jmp 0x4319ef
mov dx, word [eax*8 + 0x4e1f68]
mov word [edi + 0x18], dx
mov eax, dword [eax*8 + 0x4e1f6c]
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.00487e90
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.00485ac5
xor edx, edx
mov word [eax + 2], dx
lea eax, [ebp - 0x218]
push 0x5c
push eax
call fcn.00485ac5
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.00404bb0
push str.lang_
lea ecx, [ebp - 0x234]
mov dword [ebp - 4], ebx
call fcn.00402700
add esi, 2
push esi
lea ecx, [ebp - 0x234]
call fcn.00402700
mov esi, dword [ebp - 0x254]
push esi
lea ecx, [ebp - 0x234]
call fcn.00402700
push 0x4c7054
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x254], ebx
call fcn.00404260
push eax
call fcn.00485aae
add esp, 8
mov dword [ebp - 0x258], eax
cmp eax, ebx
je 0x431be0
push 0x78
call fcn.004826fa
mov esi, eax
add esp, 4
mov dword [ebp - 0x25c], esi
cmp esi, ebx
je 0x431b41
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.0040a960
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.0040a960
mov byte [ebp - 4], 3
or eax, 0xffffffff
mov dword [esi + 0x70], eax
mov dword [esi + 0x6c], eax
push 0x4c60f4
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.00416450
mov dword [esi + 0x70], ebx
mov dword [esi + 0x6c], ebx
jmp 0x431b43
xor esi, esi
mov byte [ebp - 4], bl
mov ecx, dword [edi + 4]
cmp esi, ecx
je 0x431b5c
cmp ecx, ebx
je 0x431b59
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.0045a2f0
test al, al
je 0x431bbd
mov ecx, dword [edi + 4]
mov esi, dword [ecx + 0x18]
cmp esi, ebx
je 0x431bbd
lea esp, [esp]
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
test eax, eax
jne 0x431b96
mov esi, dword [esi + 0x40]
cmp esi, ebx
jne 0x431b80
jmp 0x431bbd
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
cmp eax, ebx
je 0x431bbd
lea ecx, [eax + 0x20]
call fcn.00416500
push str.strings
push eax
call fcn.004856be
add esp, 8
test eax, eax
je 0x431bc7
mov dword [ebp - 0x254], 4
mov ecx, dword [ebp - 0x258]
push ecx
call fcn.00484422
add esp, 4
call fcn.00438530
jmp 0x431d97
push 0x4c7064
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x258], eax
cmp eax, ebx
jne 0x431c06
mov dword [ebp - 0x254], 4
jmp 0x431d97
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
cmp esi, ebx
je 0x431bf7
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.0040a960
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.00416390
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
push 0x78
call fcn.004826fa
mov esi, eax
add esp, 4
mov dword [ebp - 0x25c], esi
cmp esi, ebx
je 0x431ce6
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.0040a960
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.0040a960
mov byte [ebp - 4], 7
or eax, 0xffffffff
mov dword [esi + 0x70], eax
mov dword [esi + 0x6c], eax
push 0x4c60f4
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.00416450
mov dword [esi + 0x70], ebx
mov dword [esi + 0x6c], ebx
jmp 0x431ce8
xor esi, esi
mov byte [ebp - 4], 4
mov ecx, dword [edi + 4]
cmp esi, ecx
je 0x431d02
cmp ecx, ebx
je 0x431cff
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.00416500
mov ecx, dword [ebp - 0x25c]
mov edx, dword [esi + 8]
push eax
call edx
test eax, eax
jne 0x431d36
mov dword [ebp - 0x254], 4
jmp 0x431d8c
mov eax, dword [edi + 4]
mov esi, dword [eax + 0x18]
cmp esi, ebx
je 0x431d2a
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
test eax, eax
jne 0x431d60
mov esi, dword [esi + 0x40]
cmp esi, ebx
jne 0x431d40
mov dword [ebp - 0x254], 4
jmp 0x431d8c
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
cmp eax, ebx
je 0x431d2a
lea ecx, [eax + 0x20]
call fcn.00416500
push str.strings
push eax
call fcn.004856be
add esp, 8
test eax, eax
jne 0x431d2a
call fcn.00438530
lea ecx, [ebp - 0x250]
call fcn.0040aa80
lea ecx, [ebp - 0x234]
call fcn.00404310
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.00482469
mov esp, ebp
pop ebp
ret 4