Function at 0x413630
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x473518
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4936d0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, dword [esp + 0x40]
xor ebp, ebp
push ebp
push ebp
push 0x484884
mov ecx, edi
call fcn.004286d7
lea esi, [edi + 0xac]
mov dword [esp + 0x38], ebp
push esi
mov dword [edi], vtable.CSettingSheet.0
call fcn.004082d0
mov byte [esp + 0x38], 1
mov al, byte [esp + 0x44]
mov byte [edi + 0x16c], al
call fcn.0040afd0
cmp byte [edi + 0x16c], 0
je 0x4136a6
push esi
mov ecx, edi
call fcn.0042845e
mov esi, 0x3980094
call fcn.00402bd0
lea ecx, [esp + 0x14]
push ecx
mov ecx, eax
call fcn.00402c10
mov ebx, 8
cmp dword [eax + 0x18], ebx
jb 0x4136cb
mov eax, dword [eax + 4]
jmp 0x4136ce
add eax, 4
push eax
push 0x4cf600
mov edx, 0x100
call fcn.00401d00
add esp, 8
cmp dword [esp + 0x2c], ebx
jb 0x4136f4
mov edx, dword [esp + 0x18]
push edx
call fcn.0041d532
add esp, 4
push 0xb4
call fcn.0041d503
add esp, 4
mov dword [esp + 0x44], eax
mov byte [esp + 0x38], 2
cmp eax, ebp
je 0x413716
push eax
call fcn.004082d0
jmp 0x413718
xor eax, eax
mov byte [esp + 0x38], 1
mov ecx, eax
mov dword [edi + 0x160], eax
call fcn.00426ffd
mov dword [eax + 0x14], 0x4cf600
mov ecx, dword [edi + 0x160]
call fcn.00426ffd
or dword [eax + 4], ebx
add eax, 4
cmp byte [edi + 0x16c], 0
je 0x41375c
mov ecx, dword [edi + 0x160]
call fcn.00426ffd
add eax, 4
or dword [eax], 0x10
mov eax, dword [edi + 0x160]
push eax
mov ecx, edi
call fcn.0042845e
lea ebx, [ebx]
push 0xd60
call fcn.0041d503
add esp, 4
mov dword [esp + 0x44], eax
mov byte [esp + 0x38], 3
test eax, eax
je 0x41379c
movzx ecx, byte [edi + 0x16c]
push ecx
push eax
mov ecx, ebp
call fcn.00404680
jmp 0x41379e
xor eax, eax
mov byte [esp + 0x38], 1
mov dword [edi + ebp*4 + 0x164], eax
test ebp, ebp
jne 0x4137df
mov esi, 0x3980032
call fcn.00402bd0
lea edx, [esp + 0x14]
push edx
mov ecx, eax
call fcn.00402c10
cmp dword [eax + 0x18], ebx
jb 0x4137d4
mov eax, dword [eax + 4]
push eax
push 0x4cf100
jmp 0x41380f
add eax, 4
push eax
push 0x4cf100
jmp 0x41380f
mov esi, 0x398004e
call fcn.00402bd0
lea ecx, [esp + 0x14]
push ecx
mov ecx, eax
call fcn.00402c10
cmp dword [eax + 0x18], ebx
jb 0x4137ff
mov eax, dword [eax + 4]
jmp 0x413802
add eax, 4
mov edx, ebp
shl edx, 8
push eax
add edx, 0x4cf100
push edx
mov edx, 0x80
call fcn.00401d00
add esp, 8
cmp dword [esp + 0x2c], ebx
jb 0x41382f
mov eax, dword [esp + 0x18]
push eax
call fcn.0041d532
add esp, 4
mov ecx, dword [edi + ebp*4 + 0x164]
mov esi, ebp
shl esi, 8
add esi, 0x4cf100
call fcn.00426ffd
mov dword [eax + 0x14], esi
mov ecx, dword [edi + ebp*4 + 0x164]
call fcn.00426ffd
or dword [eax + 4], ebx
add eax, 4
cmp byte [edi + 0x16c], 0
je 0x413876
mov ecx, dword [edi + ebp*4 + 0x164]
call fcn.00426ffd
add eax, 4
or dword [eax], 0x10
mov ecx, dword [edi + ebp*4 + 0x164]
push ecx
mov ecx, edi
call fcn.0042845e
inc ebp
cmp ebp, 2
jb 0x413770
mov esi, 0x3980088
call fcn.00402bd0
lea edx, [esp + 0x14]
push edx
mov ecx, eax
call fcn.00402c10
cmp dword [eax + 0x18], ebx
jb 0x4138af
mov eax, dword [eax + 4]
jmp 0x4138b2
add eax, 4
push eax
push 0x4cf000
mov edx, 0x100
call fcn.00401d00
add esp, 8
cmp dword [esp + 0x2c], ebx
jb 0x4138d8
mov eax, dword [esp + 0x18]
push eax
call fcn.0041d532
add esp, 4
push 0xa8
call fcn.0041d503
add esp, 4
mov dword [esp + 0x44], eax
mov byte [esp + 0x38], 4
test eax, eax
je 0x413902
movzx ecx, byte [edi + 0x16c]
push ecx
push eax
call fcn.00413dc0
jmp 0x413904
xor eax, eax
mov byte [esp + 0x38], 1
mov ecx, eax
mov dword [edi + 0x170], eax
call fcn.00426ffd
mov dword [eax + 0x14], 0x4cf000
mov ecx, dword [edi + 0x170]
call fcn.00426ffd
or dword [eax + 4], ebx
add eax, 4
cmp byte [edi + 0x16c], 0
je 0x413948
mov ecx, dword [edi + 0x170]
call fcn.00426ffd
add eax, 4
or dword [eax], 0x10
mov edx, dword [edi + 0x170]
push edx
mov ecx, edi
call fcn.0042845e
mov esi, 0x3980033
call fcn.00402bd0
lea ecx, [esp + 0x14]
push ecx
mov ecx, eax
call fcn.00402c10
cmp dword [eax + 0x18], ebx
jb 0x413976
mov eax, dword [eax + 4]
jmp 0x413979
add eax, 4
push eax
push 0x4cef00
mov edx, 0x100
call fcn.00401d00
add esp, 8
cmp dword [esp + 0x2c], ebx
jb 0x41399f
mov edx, dword [esp + 0x18]
push edx
call fcn.0041d532
add esp, 4
push 0xa8
call fcn.0041d503
add esp, 4
mov dword [esp + 0x44], eax
mov byte [esp + 0x38], 5
test eax, eax
je 0x4139c1
push eax
call fcn.0040a4c0
jmp 0x4139c3
xor eax, eax
mov byte [esp + 0x38], 1
mov ecx, eax
mov dword [edi + 0x174], eax
call fcn.00426ffd
mov dword [eax + 0x14], 0x4cef00
mov ecx, dword [edi + 0x174]
call fcn.00426ffd
or dword [eax + 4], ebx
add eax, 4
cmp byte [edi + 0x16c], 0
je 0x413a07
mov ecx, dword [edi + 0x174]
call fcn.00426ffd
add eax, 4
or dword [eax], 0x10
mov eax, dword [edi + 0x174]
push eax
mov ecx, edi
call fcn.0042845e
mov esi, 0x398009f
call fcn.00402bd0
lea ecx, [esp + 0x14]
push ecx
mov ecx, eax
call fcn.00402c10
cmp dword [eax + 0x18], ebx
jb 0x413a35
mov eax, dword [eax + 4]
jmp 0x413a38
add eax, 4
push eax
push 0x4cee00
mov edx, 0x100
call fcn.00401d00
add esp, 8
cmp dword [esp + 0x2c], ebx
jb 0x413a5e
mov edx, dword [esp + 0x18]
push edx
call fcn.0041d532
add esp, 4
push 0xa8
call fcn.0041d503
add esp, 4
mov dword [esp + 0x44], eax
mov byte [esp + 0x38], 6
test eax, eax
je 0x413a80
push eax
call fcn.00414500
jmp 0x413a82
xor eax, eax
mov byte [esp + 0x38], 1
mov ecx, eax
mov dword [edi + 0x178], eax
call fcn.00426ffd
mov dword [eax + 0x14], 0x4cee00
mov ecx, dword [edi + 0x178]
call fcn.00426ffd
or dword [eax + 4], ebx
add eax, 4
cmp byte [edi + 0x16c], 0
je 0x413ac6
mov ecx, dword [edi + 0x178]
call fcn.00426ffd
add eax, 4
or dword [eax], 0x10
mov eax, dword [edi + 0x178]
push eax
mov ecx, edi
call fcn.0042845e
mov ecx, dword [edi + 0x58]
and ecx, 0xfffffdff
or ecx, 0x82
mov dword [edi + 0x58], ecx
call fcn.0041fe6a
call fcn.0041fe6a
mov eax, dword [eax + 0xc]
push 0x80
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [edi + 0x64], eax
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 8