Function at 0x431940
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57d874
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x600f84]
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 [0x602848]
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 + 0x602848]
je 0x4319c6
inc eax
cmp eax, 4
jb 0x4319b0
jmp 0x4319df
mov dx, word [eax*8 + 0x602848]
mov word [edi + 0x18], dx
mov eax, dword [eax*8 + 0x60284c]
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.00557f00
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.00555895
xor edx, edx
mov word [eax + 2], dx
lea eax, [ebp - 0x218]
push 0x5c
push eax
call fcn.00555895
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.00404af0
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 0x5decc4
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x254], ebx
call fcn.004041f0
push eax
call fcn.0055587e
add esp, 8
mov dword [ebp - 0x258], eax
cmp eax, ebx
je 0x431bd0
push 0x78
call fcn.00552482
mov esi, eax
add esp, 4
mov dword [ebp - 0x25c], esi
cmp esi, ebx
je 0x431b31
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.0040a860
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.0040a860
mov byte [ebp - 4], 3
or eax, 0xffffffff
mov dword [esi + 0x70], eax
mov dword [esi + 0x6c], eax
push 0x5dfa53
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.00416370
mov dword [esi + 0x70], ebx
mov dword [esi + 0x6c], ebx
jmp 0x431b33
xor esi, esi
mov byte [ebp - 4], bl
mov ecx, dword [edi + 4]
cmp esi, ecx
je 0x431b4c
cmp ecx, ebx
je 0x431b49
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.0045a320
test al, al
je 0x431bad
mov ecx, dword [edi + 4]
mov esi, dword [ecx + 0x18]
cmp esi, ebx
je 0x431bad
lea esp, [esp]
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
test eax, eax
jne 0x431b86
mov esi, dword [esi + 0x40]
cmp esi, ebx
jne 0x431b70
jmp 0x431bad
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
cmp eax, ebx
je 0x431bad
lea ecx, [eax + 0x20]
call fcn.00416420
push str.strings
push eax
call fcn.0055548e
add esp, 8
test eax, eax
je 0x431bb7
mov dword [ebp - 0x254], 4
mov ecx, dword [ebp - 0x258]
push ecx
call fcn.005541f0
add esp, 4
call fcn.00438520
jmp 0x431d87
push 0x5decd4
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x258], eax
cmp eax, ebx
jne 0x431bf6
mov dword [ebp - 0x254], 4
jmp 0x431d87
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
cmp esi, ebx
je 0x431be7
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.0040a860
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.004162b0
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
push 0x78
call fcn.00552482
mov esi, eax
add esp, 4
mov dword [ebp - 0x25c], esi
cmp esi, ebx
je 0x431cd6
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.0040a860
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.0040a860
mov byte [ebp - 4], 7
or eax, 0xffffffff
mov dword [esi + 0x70], eax
mov dword [esi + 0x6c], eax
push 0x5dfa53
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.00416370
mov dword [esi + 0x70], ebx
mov dword [esi + 0x6c], ebx
jmp 0x431cd8
xor esi, esi
mov byte [ebp - 4], 4
mov ecx, dword [edi + 4]
cmp esi, ecx
je 0x431cf2
cmp ecx, ebx
je 0x431cef
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.00416420
mov ecx, dword [ebp - 0x25c]
mov edx, dword [esi + 8]
push eax
call edx
test eax, eax
jne 0x431d26
mov dword [ebp - 0x254], 4
jmp 0x431d7c
mov eax, dword [edi + 4]
mov esi, dword [eax + 0x18]
cmp esi, ebx
je 0x431d1a
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
test eax, eax
jne 0x431d50
mov esi, dword [esi + 0x40]
cmp esi, ebx
jne 0x431d30
mov dword [ebp - 0x254], 4
jmp 0x431d7c
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
cmp eax, ebx
je 0x431d1a
lea ecx, [eax + 0x20]
call fcn.00416420
push str.strings
push eax
call fcn.0055548e
add esp, 8
test eax, eax
jne 0x431d1a
call fcn.00438520
lea ecx, [ebp - 0x250]
call fcn.0040a980
lea ecx, [ebp - 0x234]
call fcn.004042a0
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.005521f1
mov esp, ebp
pop ebp
ret 4