Function at 0x451b20
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x6b93c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 0x18], ecx
jmp 0x451b3b
mov ecx, dword [0x70b340]
call fcn.004aad30
mov esi, dword [ebp + 0xc]
mov bl, al
push esi
movzx eax, bl
push 0
mov dword [ebp - 0x1c], eax
call dword [sym.imp.USER32.dll_FindWindowA]
mov edi, dword [ebp - 0x18]
mov ecx, dword [ebp + 0x10]
push 0x66
push 0x64
mov dword [edi + 0x1fda0], ecx
mov ecx, dword [ebp + 0x14]
mov dword [edi + 0x1fda4], ecx
mov ecx, edi
mov dword [ebp - 0x28], eax
call fcn.004df160
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
push eax
mov cl, bl
call fcn.00451b10
push eax
push 0
push 4
push esi
mov ecx, edi
call fcn.004df0a0
test al, al
jne 0x451bd4
push str.CMSWindow::Create_failed
call fcn.004c6b80
add esp, 4
push str.CREATE_WINDOW
mov eax, dword [sym.imp.libPulm.pyc_PyExc_RuntimeError]
push dword [eax]
call dword [sym.imp.libPulm.pyc_PyErr_SetString]
add esp, 8
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00584ead
mov esp, ebp
pop ebp
ret 0x14
lea ebx, [edi + 0x1d68c]
mov ecx, ebx
call fcn.004aae40
test al, al
je 0x451bf3
mov ecx, dword [0x70b364]
lea ecx, [ecx + 4]
call fcn.004e8990
mov ecx, ebx
call fcn.004aad30
test al, al
jne 0x451c47
call fcn.004aae40
test al, al
jne 0x451c10
call fcn.0044b480
test al, al
je 0x451c47
mov ecx, ebx
mov byte [edi + 0x1feac], 0
mov dword [edi + 0x1fed0], 1
call fcn.004aab20
mov ecx, edi
mov esi, eax
call fcn.00440870
push esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ecx
call fcn.00457fa0
mov dword [ebp - 0x1c], 1
jmp 0x451cc4
mov ecx, ebx
call fcn.004aab10
push eax
call fcn.004aab00
push eax
mov ecx, edi
call fcn.004df020
cmp dword [ebp - 0x1c], 0
je 0x451cb2
cmp dword [ebp - 0x28], 0
mov byte [edi + 0x1feac], 1
je 0x451cac
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
call fcn.004df140
mov ebx, dword [ebp - 0xc]
mov ecx, edi
mov esi, dword [ebp - 8]
sub ebx, dword [ebp - 0x14]
sub esi, dword [ebp - 0x10]
call fcn.004df190
mov ecx, dword [ebp - 0x18]
mov edi, 0xffffffc4
sub edi, esi
add edi, eax
call fcn.004df1a0
push edi
mov edi, dword [ebp - 0x18]
sub eax, ebx
push eax
mov ecx, edi
call fcn.004df4b0
push 0
push 0xfffffffffffffff8
jmp 0x451cbd
push 0
mov byte [edi + 0x1feac], 0
push 0
mov ecx, edi
call fcn.004df4b0
jmp 0x451cc9
mov ebx, dword [ebp - 0x18]
mov ecx, ebx
call fcn.00455260
test al, al
jne 0x451cee
push str.CMSWindow::Cursors_Create_Error
call fcn.004c6b80
add esp, 4
push str._CREATE_CURSOR_
jmp 0x451baf
lea ecx, [ebx + 0x1d68c]
call fcn.004aab40
test al, al
jne 0x451d0e
lea ecx, [ebx + 0xe8]
call fcn.0055f8f0
lea ecx, [ebx + 0x1d68c]
call fcn.004aae00
test al, al
jne 0x451d21
call fcn.004aae30
mov byte [0x702338], al
call fcn.004aab30
mov edi, eax
call fcn.004aab20
mov esi, eax
call fcn.004aab10
mov edx, eax
call fcn.004aab00
push edi
push esi
push dword [ebp - 0x1c]
mov ecx, ebx
push edx
push eax
call fcn.00451580
test al, al
je 0x451bbf
call fcn.004d1ff0
lea ecx, [ebx + 0x1d68c]
call fcn.004aae00
test al, al
je 0x451d6e
call fcn.004de740
xor al, 1
jmp 0x451d79
lea ecx, [ebx + 0x1d68c]
call fcn.004aae30
movzx eax, al
lea ecx, [ebx + 0x1b978]
push eax
call fcn.0051af10
push 1
mov ecx, ebx
call fcn.004df4d0
cmp dword [ebx + 0x1fed0], 0
je 0x451db6
push 0x40
push dword [ebp + 0x14]
mov ecx, ebx
push dword [ebp + 0x10]
push 0
push 0
push 0
call fcn.00440870
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, ebx
call fcn.00440870
push eax
lea ecx, [ebx + 0x1c]
call fcn.004df840
test al, al
je 0x451bbf
lea ecx, [ebx + 0x1d68c]
call fcn.004aa770
lea ecx, [ebx + 0x1d68c]
call fcn.004aab50
movzx eax, al
mov ecx, ebx
push eax
call fcn.00455600
lea ecx, [ebx + 0x1d684]
call fcn.004e1de0
test al, al
jne 0x451e15
push str.NetDevice::Create_failed
call fcn.004c6b80
add esp, 4
push str._CREATE_NETWORK_
jmp 0x451baf
call fcn.004de740
test al, al
jne 0x451e28
push 1
call fcn.004d22f0
add esp, 4
lea ecx, [ebx + 0x1920c]
call fcn.00471930
call fcn.0043e160
mov esi, dword [0x70b364]
mov ecx, ebx
call fcn.00440870
push eax
mov ecx, esi
call fcn.0046f850
mov ecx, dword [0x70b364]
push 0
push 0x6668be
lea ecx, [ecx + 4]
call fcn.004e82d0
call fcn.004af8d0
lea ecx, [ebx + 0x7c]
call fcn.004e0190
push 0x20
call fcn.004e9070
mov esi, dword [sym.imp.USER32.dll_SystemParametersInfoA]
lea eax, [ebp - 0x24]
add esp, 4
xorps xmm0, xmm0
movlpd qword [ebp - 0x24], xmm0
mov dword [ebp - 0x24], 8
push 0
push eax
push 8
push 0x3a
call esi
mov eax, dword [ebp - 0x20]
mov dword [ebx + 0x1fed4], eax
and eax, 0xfffffff9
push 0
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x24]
push eax
push 8
push 0x3b
call esi
push str.d:_ymir_work_special_spheremap.jpg
push 0
call fcn.004d03c0
push str.d:_ymir_work_special_spheremap01.jpg
push 1
call fcn.004d03c0
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
mov al, 1
pop edi
pop esi
pop ebx
call fcn.00584ead
mov esp, ebp
pop ebp
ret 0x14