Function at 0x431910
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b4a04
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x4eb690]
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.00434710
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 [0x4ed118]
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 + 0x4ed118]
je 0x431996
inc eax
cmp eax, 4
jb 0x431980
jmp 0x4319af
mov dx, word [eax*8 + 0x4ed118]
mov word [edi + 0x18], dx
mov eax, dword [eax*8 + 0x4ed11c]
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.0048e940
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.0048d9a5
xor edx, edx
mov word [eax + 2], dx
lea eax, [ebp - 0x218]
push 0x5c
push eax
call fcn.0048d9a5
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.00404a80
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 0x4d24d4
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x254], ebx
call fcn.00404180
push eax
call fcn.0048d98e
add esp, 8
mov dword [ebp - 0x258], eax
cmp eax, ebx
je 0x431ba0
push 0x78
call fcn.0048a5d7
mov esi, eax
add esp, 4
mov dword [ebp - 0x25c], esi
cmp esi, ebx
je 0x431b01
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.0040a8e0
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.0040a8e0
mov byte [ebp - 4], 3
or eax, 0xffffffff
mov dword [esi + 0x70], eax
mov dword [esi + 0x6c], eax
push 0x4d3263
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.00416390
mov dword [esi + 0x70], ebx
mov dword [esi + 0x6c], ebx
jmp 0x431b03
xor esi, esi
mov byte [ebp - 4], bl
mov ecx, dword [edi + 4]
cmp esi, ecx
je 0x431b1c
cmp ecx, ebx
je 0x431b19
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.0045a440
test al, al
je 0x431b7d
mov ecx, dword [edi + 4]
mov esi, dword [ecx + 0x18]
cmp esi, ebx
je 0x431b7d
lea esp, [esp]
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
test eax, eax
jne 0x431b56
mov esi, dword [esi + 0x40]
cmp esi, ebx
jne 0x431b40
jmp 0x431b7d
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
cmp eax, ebx
je 0x431b7d
lea ecx, [eax + 0x20]
call fcn.00416440
push str.strings
push eax
call fcn.0048d59e
add esp, 8
test eax, eax
je 0x431b87
mov dword [ebp - 0x254], 4
mov ecx, dword [ebp - 0x258]
push ecx
call fcn.0048c302
add esp, 4
call fcn.004384f0
jmp 0x431d57
push 0x4d24e4
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x258], eax
cmp eax, ebx
jne 0x431bc6
mov dword [ebp - 0x254], 4
jmp 0x431d57
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
cmp esi, ebx
je 0x431bb7
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.0040a8e0
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.004162d0
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
push 0x78
call fcn.0048a5d7
mov esi, eax
add esp, 4
mov dword [ebp - 0x25c], esi
cmp esi, ebx
je 0x431ca6
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.0040a8e0
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.0040a8e0
mov byte [ebp - 4], 7
or eax, 0xffffffff
mov dword [esi + 0x70], eax
mov dword [esi + 0x6c], eax
push 0x4d3263
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.00416390
mov dword [esi + 0x70], ebx
mov dword [esi + 0x6c], ebx
jmp 0x431ca8
xor esi, esi
mov byte [ebp - 4], 4
mov ecx, dword [edi + 4]
cmp esi, ecx
je 0x431cc2
cmp ecx, ebx
je 0x431cbf
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.00416440
mov ecx, dword [ebp - 0x25c]
mov edx, dword [esi + 8]
push eax
call edx
test eax, eax
jne 0x431cf6
mov dword [ebp - 0x254], 4
jmp 0x431d4c
mov eax, dword [edi + 4]
mov esi, dword [eax + 0x18]
cmp esi, ebx
je 0x431cea
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
test eax, eax
jne 0x431d20
mov esi, dword [esi + 0x40]
cmp esi, ebx
jne 0x431d00
mov dword [ebp - 0x254], 4
jmp 0x431d4c
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
cmp eax, ebx
je 0x431cea
lea ecx, [eax + 0x20]
call fcn.00416440
push str.strings
push eax
call fcn.0048d59e
add esp, 8
test eax, eax
jne 0x431cea
call fcn.004384f0
lea ecx, [ebp - 0x250]
call fcn.0040aa00
lea ecx, [ebp - 0x234]
call fcn.00404230
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.0048a346
mov esp, ebp
pop ebp
ret 4