Function at 0x4363e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f7906
mov eax, dword fs:[0]
push eax
sub esp, 0x178
mov eax, dword [0x545628]
xor eax, esp
mov dword [esp + 0x170], eax
push ebx
push esi
push edi
mov eax, dword [0x545628]
xor eax, esp
push eax
lea eax, [esp + 0x188]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
xor edi, edi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x50], eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], fcn.004d1df2
mov dword [esp + 0x2c], fcn.004d2a0a
mov dword [esp + 0x30], fcn.004d1d15
mov edx, dword [ebp + 0xc]
push edi
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [ebp + 8]
add edx, 0xfffffffa
push edx
add ecx, 0xa
push 0x20
mov dword [esp + 0x1a0], edi
call fcn.00434740
mov ebx, dword [esp + 0x18]
xor eax, eax
cmp dword [esp + 0x1c], edi
mov dword [esp + 0x14], eax
jle 0x436748
lea ebx, [ebx]
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], fcn.004d1df2
mov dword [esp + 0x48], fcn.004d2a0a
mov dword [esp + 0x4c], fcn.004d1d15
mov byte [esp + 0x190], 1
mov ecx, dword [ebx + eax*4]
mov eax, ecx
lea edx, [eax + 2]
jmp 0x4364d0
mov si, word [eax]
add eax, 2
cmp si, di
jne 0x4364d0
sub eax, edx
push 1
lea edx, [esp + 0x38]
push edx
sar eax, 1
push eax
push 0x3d
call fcn.00434740
mov ebx, dword [esp + 0x34]
mov esi, dword [ebx]
mov ecx, 0x52db10
mov eax, esi
jmp 0x436500
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x436526
cmp dx, di
je 0x436522
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x436526
add eax, 4
add ecx, 4
cmp dx, di
jne 0x436500
xor eax, eax
jmp 0x43652b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
jne 0x4365d5
mov esi, dword [ebx + 4]
mov ecx, str.right
mov eax, esi
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x436566
cmp dx, di
je 0x436562
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x436566
add eax, 4
add ecx, 4
cmp dx, di
jne 0x436540
xor eax, eax
jmp 0x43656b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
jne 0x43657f
mov eax, dword [esp + 0x10]
mov dword [eax + 0x10], 2
jmp 0x4366fa
mov ecx, str.center
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4365bd
cmp dx, di
je 0x4365a8
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4365bd
add eax, 4
add ecx, 4
cmp dx, di
jne 0x436586
mov edx, dword [esp + 0x10]
xor ecx, ecx
xor eax, eax
cmp eax, edi
sete cl
mov dword [edx + 0x10], ecx
jmp 0x4366fa
mov edx, dword [esp + 0x10]
sbb eax, eax
sbb eax, 0xffffffff
xor ecx, ecx
cmp eax, edi
sete cl
mov dword [edx + 0x10], ecx
jmp 0x4366fa
mov ecx, 0x52dbcc
mov eax, esi
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x436606
cmp dx, di
je 0x436602
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x436606
add eax, 4
add ecx, 4
cmp dx, di
jne 0x4365e0
xor eax, eax
jmp 0x43660b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
jne 0x43663e
mov edx, dword [ebx + 4]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x436617
mov ebx, dword [esp + 0x10]
sub eax, esi
sar eax, 1
add edx, 2
add eax, 0xfffffffe
push edx
add ebx, 0x20
call fcn.00410ea0
jmp 0x4366f8
mov ecx, 0x52a184
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x43666b
cmp dx, di
je 0x436667
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x43666b
add eax, 4
add ecx, 4
cmp dx, di
jne 0x436645
xor eax, eax
jmp 0x436670
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
jne 0x4366fa
lea ecx, [esp + 0x54]
call fcn.00410c10
mov eax, dword [esp + 0x34]
mov edx, dword [eax + 4]
mov eax, edx
lea esi, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x436690
sub eax, esi
sar eax, 1
push edx
lea ebx, [esp + 0x58]
call fcn.00410ea0
cmp byte [esp + 0x170], 0
lea eax, [esp + 0x60]
jne 0x4366bb
mov eax, dword [esp + 0x5c]
add eax, 4
push eax
call fcn.004d17dd
mov ecx, dword [esp + 0x14]
add esp, 4
cmp byte [esp + 0x170], 0
mov dword [ecx + 0x180], eax
mov dword [esp + 0x54], vtable.t_str.0
jne 0x4366f8
mov eax, dword [esp + 0x5c]
lea edx, [esp + 0x60]
cmp eax, edx
je 0x4366f8
push eax
call fcn.004d1d15
add esp, 4
xor edi, edi
mov ebx, dword [esp + 0x38]
xor esi, esi
cmp ebx, edi
jle 0x43671d
mov eax, dword [esp + 0x34]
mov eax, dword [eax + esi*4]
cmp eax, edi
je 0x436718
push eax
call fcn.004d39c4
add esp, 4
inc esi
cmp esi, ebx
jl 0x436704
mov ecx, dword [esp + 0x34]
push ecx
call dword [esp + 0x50]
mov eax, dword [esp + 0x18]
inc eax
mov byte [esp + 0x194], 0
mov ebx, dword [esp + 0x1c]
add esp, 4
cmp eax, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
jl 0x436490
xor esi, esi
cmp dword [esp + 0x1c], edi
jle 0x436767
mov eax, dword [ebx + esi*4]
cmp eax, edi
je 0x436760
push eax
call fcn.004d39c4
add esp, 4
inc esi
cmp esi, dword [esp + 0x1c]
jl 0x436750
cmp ebx, edi
je 0x436777
push ebx
call dword [esp + 0x34]
add esp, 4
mov dword [esp + 0x18], edi
mov edx, dword [esp + 0x10]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
cmp dword [edx + 0x24], edi
je 0x436813
mov eax, edx
cmp byte [eax + 0x13c], 0
lea esi, [eax + 0x2c]
jne 0x43679d
mov esi, dword [eax + 0x28]
mov ebx, dword [esp + 0x50]
call fcn.00429ce0
test ebx, ebx
jne 0x4367b0
mov ebx, dword [eax]
test ebx, ebx
je 0x436813
push 0xa
add esi, 4
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x436813
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x436813
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test esi, esi
je 0x436813
mov dword [esp + 0x34], esi
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x10]
lea ecx, [esi + 0x144]
lea edx, [esp + 0x34]
mov dword [esp + 0x38], eax
mov byte [esp + 0x40], 0
call fcn.00433e20
test al, al
je 0x436813
mov byte [esi + 0x17c], 1
mov dword [esp + 0x190], 0xffffffff
mov eax, dword [esp + 0x18]
test eax, eax
je 0x43682e
push eax
call dword [esp + 0x34]
add esp, 4
mov ecx, dword [esp + 0x188]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x170]
xor ecx, esp
call fcn.004d158d
mov esp, ebp
pop ebp
ret 0xc