Function at 0x4e09b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
push ebx
push esi
mov ebx, ecx
push edi
mov dword [esp + 0x1c], ebx
call fcn.004e08c0
push 0xd0
call fcn.004c9070
mov edx, eax
add esp, 4
test edx, edx
je 0x4e0a01
mov ecx, dword [ebx + 8]
push 0
push 0
push 0
mov eax, dword [ecx + 0x14]
mov ecx, edx
push 0
push 0
push dword [eax + 0x18]
push 6
call fcn.00404b30
mov edi, eax
mov dword [esp + 0x20], eax
jmp 0x4e0a07
xor edi, edi
mov dword [esp + 0x20], edi
mov eax, dword [0x562820]
push 0
push 0
push 0
mov esi, dword [eax + 0x10]
push 0
push 0
push 1
movss xmm0, dword [esi + 0x168]
push 0
push 0
push 0
push 0
call fcn.00510920
movss xmm0, dword [esi + 0x164]
push eax
call fcn.00510920
push eax
mov eax, dword [ebx + 8]
mov ecx, edi
push 4
mov eax, dword [eax + 0x14]
push dword [eax + 0x18]
call fcn.00405750
push 0x2c
call fcn.004c9070
add esp, 4
test eax, eax
je 0x4e0a97
mov ecx, dword [0x562820]
push 0
push 0
mov edx, dword [ecx + 0x10]
mov ecx, dword [ebx + 8]
movss xmm3, dword [edx + 0x168]
mov ecx, dword [ecx + 0x10]
movss xmm2, dword [edx + 0x164]
push dword [ecx + 0xcc]
mov ecx, eax
call fcn.00402eb0
mov esi, eax
mov dword [esp + 0x18], eax
jmp 0x4e0a9d
xor esi, esi
mov dword [esp + 0x18], esi
movss xmm1, dword [esi + 0x1c]
movaps xmm0, xmm1
mulss xmm1, dword [0x54f494]
push 0x19
divss xmm0, dword [0x54f65c]
push 0x19
addss xmm0, xmm1
call fcn.00510920
movss xmm1, dword [esi + 0x18]
movaps xmm0, xmm1
mulss xmm1, dword [0x54f458]
push eax
mulss xmm0, dword [0x54f494]
subss xmm0, xmm1
call fcn.00510920
push eax
mov eax, dword [ebx + 8]
mov ecx, edi
push 0
push 1
push str.START
mov eax, dword [eax + 0x14]
push 0
push 0
push 0
push 0x19
push 0x19
push 1
push dword [eax + 0x18]
call fcn.00405750
mov eax, dword [ebx + 8]
lea edx, [esp + 0x9c]
push 2
xor ebx, ebx
xor esi, esi
push edx
mov eax, dword [eax + 0x14]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], ebx
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
sub eax, ecx
sar eax, 2
mov ecx, dword [ecx + eax*4 - 4]
call fcn.004ccc30
lea ecx, [esp + 0x24]
mov dword [esp + 0x14], eax
xor edi, edi
mov dword [esp + 0x10], ebx
cmp ecx, eax
je 0x4e0b7b
call fcn.00408410
mov ecx, dword [esp + 0x14]
mov ebx, dword [ecx]
mov esi, dword [ecx + 4]
mov eax, dword [ecx + 8]
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
mov edi, esi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0x9c]
call fcn.00408410
sub edi, dword [esp + 0x10]
xor eax, eax
sar edi, 2
test edi, edi
je 0x4e0baf
sub esi, ebx
sar esi, 2
cmp esi, eax
jbe 0x4e1531
mov edi, dword [ebx + eax*4]
cmp dword [edi + 8], 2
je 0x4e0bb1
inc eax
cmp esi, eax
ja 0x4e0ba1
xor edi, edi
lea ecx, [esp + 0x24]
call fcn.00408410
push 0
push 0x561304
push 0x5612c4
push 0
push edi
call fcn.005110f2
mov edi, dword [esp + 0x2c]
lea edx, [esp + 0xb0]
add esp, 0x14
xor ebx, ebx
xor esi, esi
movss xmm0, dword [edi + 0x1c]
movaps xmm1, xmm0
movss xmm2, dword [edi + 0x18]
divss xmm1, dword [0x54f65c]
push 1
push edx
mulss xmm0, dword [0x54f494]
addss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [0x54f494]
mulss xmm2, dword [0x54f458]
subss xmm0, xmm2
movss dword [eax + 0x14], xmm0
movss dword [eax + 0x18], xmm1
mov dword [eax + 0x1c], 0
mov eax, dword [esp + 0x24]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], ebx
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x14]
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
sub eax, ecx
sar eax, 2
mov ecx, dword [ecx + eax*4 - 4]
call fcn.004ccc30
lea ecx, [esp + 0x30]
mov dword [esp + 0x14], eax
xor edi, edi
mov dword [esp + 0x10], ebx
cmp ecx, eax
je 0x4e0c93
call fcn.00408410
mov ecx, dword [esp + 0x14]
mov ebx, dword [ecx]
mov esi, dword [ecx + 4]
mov eax, dword [ecx + 8]
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
mov edi, esi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], eax
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0x9c]
call fcn.00408410
sub edi, dword [esp + 0x10]
xor eax, eax
sar edi, 2
test edi, edi
je 0x4e0cc7
sub esi, ebx
sar esi, 2
cmp esi, eax
jbe 0x4e1531
mov edi, dword [ebx + eax*4]
cmp dword [edi + 8], 0
jne 0x4e0cc9
inc eax
cmp esi, eax
ja 0x4e0cb9
xor edi, edi
lea ecx, [esp + 0x30]
call fcn.00408410
push 0
push 0x5612e4
push 0x5612c4
push 0
push edi
call fcn.005110f2
add esp, 0x14
test eax, eax
je 0x4e0cf4
mov dword [eax + 0x2c], 0x3f800000
mov ebx, dword [esp + 0x18]
push 0x50
push 0xa0
movss xmm1, dword [ebx + 0x1c]
cvtps2pd xmm0, xmm1
mulss xmm1, dword [0x54f494]
divsd xmm0, qword [0x54f5c0]
cvtps2pd xmm1, xmm1
addsd xmm0, xmm1
call fcn.00510a60
movss xmm1, dword [ebx + 0x18]
movaps xmm0, xmm1
divss xmm1, dword [0x54f660]
push eax
mulss xmm0, dword [0x54f494]
subss xmm0, xmm1
call fcn.00510920
mov ebx, dword [esp + 0x28]
push eax
mov ecx, dword [esp + 0x30]
push 0
mov eax, dword [ebx + 8]
push 1
push 0x527b0c
push str.Assets_Textures_Input_Text_Empty.png
mov eax, dword [eax + 0x14]
push 0
push 0
push 0x14
push 0x14
push 5
push dword [eax + 0x18]
call fcn.00405750
mov eax, dword [ebx + 8]
lea edx, [esp + 0xa8]
push 2
xor ebx, ebx
xor esi, esi
push edx
mov eax, dword [eax + 0x14]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], ebx
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
sub eax, ecx
sar eax, 2
mov ecx, dword [ecx + eax*4 - 4]
call fcn.004ccc30
lea ecx, [esp + 0x3c]
mov dword [esp + 0x14], eax
xor edi, edi
mov dword [esp + 0x10], ebx
cmp ecx, eax
je 0x4e0de5
call fcn.00408410
mov ecx, dword [esp + 0x14]
mov ebx, dword [ecx]
mov esi, dword [ecx + 4]
mov eax, dword [ecx + 8]
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
mov edi, esi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], eax
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0xa8]
call fcn.00408410
sub edi, dword [esp + 0x10]
xor eax, eax
sar edi, 2
test edi, edi
je 0x4e0e19
sub esi, ebx
sar esi, 2
cmp esi, eax
jbe 0x4e1531
mov edi, dword [ebx + eax*4]
cmp dword [edi + 8], 2
je 0x4e0e1b
inc eax
cmp esi, eax
ja 0x4e0e0b
xor edi, edi
lea ecx, [esp + 0x3c]
call fcn.00408410
push 0
push 0x561304
push 0x5612c4
push 0
push edi
call fcn.005110f2
mov edi, dword [esp + 0x2c]
lea edx, [esp + 0xbc]
add esp, 0x14
xor ebx, ebx
xor esi, esi
movss xmm0, dword [edi + 0x1c]
cvtps2pd xmm1, xmm0
push 1
push edx
mulss xmm0, dword [0x54f494]
divsd xmm1, qword [0x54f5c0]
movss xmm2, dword [edi + 0x18]
cvtps2pd xmm0, xmm0
addsd xmm1, xmm0
movaps xmm0, xmm2
divss xmm2, dword [0x54f660]
mulss xmm0, dword [0x54f494]
cvtpd2ps xmm1, xmm1
subss xmm0, xmm2
movss dword [eax + 0x14], xmm0
movss dword [eax + 0x18], xmm1
mov dword [eax + 0x1c], 0
mov eax, dword [esp + 0x24]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], ebx
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x14]
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
sub eax, ecx
sar eax, 2
mov ecx, dword [ecx + eax*4 - 4]
call fcn.004ccc30
lea ecx, [esp + 0x48]
mov dword [esp + 0x14], eax
xor edi, edi
mov dword [esp + 0x10], ebx
cmp ecx, eax
je 0x4e0f04
call fcn.00408410
mov ecx, dword [esp + 0x14]
mov ebx, dword [ecx]
mov esi, dword [ecx + 4]
mov eax, dword [ecx + 8]
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
mov edi, esi
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], eax
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0xa8]
call fcn.00408410
sub edi, dword [esp + 0x10]
xor eax, eax
sar edi, 2
test edi, edi
je 0x4e0f38
sub esi, ebx
sar esi, 2
cmp esi, eax
jbe 0x4e1531
mov edi, dword [ebx + eax*4]
cmp dword [edi + 8], 0
jne 0x4e0f3a
inc eax
cmp esi, eax
ja 0x4e0f2a
xor edi, edi
lea ecx, [esp + 0x48]
call fcn.00408410
push 0
push 0x5612e4
push 0x5612c4
push 0
push edi
call fcn.005110f2
add esp, 0x14
test eax, eax
je 0x4e0f65
mov dword [eax + 0x2c], 0x3f800000
mov ebx, dword [esp + 0x18]
push 0x50
push 0xa0
movss xmm1, dword [ebx + 0x1c]
movaps xmm0, xmm1
mulss xmm1, dword [0x54f494]
divss xmm0, dword [0x54f688]
addss xmm0, xmm1
call fcn.00510920
movss xmm1, dword [ebx + 0x18]
movaps xmm0, xmm1
divss xmm1, dword [0x54f644]
push eax
mulss xmm0, dword [0x54f494]
subss xmm0, xmm1
call fcn.00510920
mov ebx, dword [esp + 0x28]
push eax
mov ecx, dword [esp + 0x30]
push 0
mov eax, dword [ebx + 8]
push 0
push 0
push str.Assets_Textures_Button3.png
mov eax, dword [eax + 0x14]
push 0
push 0
push 0x50
push 0xa0
push 0
push dword [eax + 0x18]
call fcn.00405750
mov eax, dword [ebx + 8]
lea edx, [esp + 0xb4]
push 2
xor ebx, ebx
xor esi, esi
push edx
mov eax, dword [eax + 0x14]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], ebx
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
sub eax, ecx
sar eax, 2
mov ecx, dword [ecx + eax*4 - 4]
call fcn.004ccc30
lea ecx, [esp + 0x54]
mov dword [esp + 0x14], eax
xor edi, edi
mov dword [esp + 0x10], ebx
cmp ecx, eax
je 0x4e1053
call fcn.00408410
mov ecx, dword [esp + 0x14]
mov ebx, dword [ecx]
mov esi, dword [ecx + 4]
mov eax, dword [ecx + 8]
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
mov edi, esi
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], eax
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0xb4]
call fcn.00408410
sub edi, dword [esp + 0x10]
xor eax, eax
sar edi, 2
test edi, edi
je 0x4e1087
sub esi, ebx
sar esi, 2
cmp esi, eax
jbe 0x4e1531
mov edi, dword [ebx + eax*4]
cmp dword [edi + 8], 2
je 0x4e1089
inc eax
cmp esi, eax
ja 0x4e1079
xor edi, edi
lea ecx, [esp + 0x54]
call fcn.00408410
push 0
push 0x561304
push 0x5612c4
push 0
push edi
call fcn.005110f2
mov edi, dword [esp + 0x2c]
lea edx, [esp + 0xc8]
add esp, 0x14
xor ebx, ebx
xor esi, esi
movss xmm0, dword [edi + 0x1c]
movaps xmm1, xmm0
movss xmm2, dword [edi + 0x18]
divss xmm1, dword [0x54f688]
push 1
push edx
mulss xmm0, dword [0x54f494]
addss xmm1, xmm0
movaps xmm0, xmm2
divss xmm2, dword [0x54f644]
mulss xmm0, dword [0x54f494]
subss xmm0, xmm2
movss dword [eax + 0x14], xmm0
movss dword [eax + 0x18], xmm1
mov dword [eax + 0x1c], 0
mov eax, dword [esp + 0x24]
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], ebx
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x14]
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
sub eax, ecx
sar eax, 2
mov ecx, dword [ecx + eax*4 - 4]
call fcn.004ccc30
lea ecx, [esp + 0x60]
mov dword [esp + 0x14], eax
xor edi, edi
mov dword [esp + 0x10], ebx
cmp ecx, eax
je 0x4e116b
call fcn.00408410
mov ecx, dword [esp + 0x14]
mov ebx, dword [ecx]
mov esi, dword [ecx + 4]
mov eax, dword [ecx + 8]
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
mov edi, esi
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], eax
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0xb4]
call fcn.00408410
sub edi, dword [esp + 0x10]
xor eax, eax
sar edi, 2
test edi, edi
je 0x4e119f
sub esi, ebx
sar esi, 2
cmp esi, eax
jbe 0x4e1531
mov edi, dword [ebx + eax*4]
cmp dword [edi + 8], 0
jne 0x4e11a1
inc eax
cmp esi, eax
ja 0x4e1191
xor edi, edi
lea ecx, [esp + 0x60]
call fcn.00408410
push 0
push 0x5612e4
push 0x5612c4
push 0
push edi
call fcn.005110f2
add esp, 0x14
test eax, eax
je 0x4e11cc
mov dword [eax + 0x2c], 0x3f800000
mov ebx, dword [esp + 0x1c]
push 0
push 0
push 0x28
mov eax, dword [ebx + 8]
mov ecx, dword [esp + 0x2c]
push 0xa0
push 0
mov eax, dword [eax + 0x14]
push 0
push 0
push str.Assets_Textures_Unchecked_checkbox.png
push 0
push 0
push 0x28
push 0xa0
push 2
push dword [eax + 0x18]
call fcn.00405750
mov eax, dword [ebx + 8]
lea edx, [esp + 0x90]
push 2
xor ebx, ebx
xor esi, esi
push edx
mov eax, dword [eax + 0x14]
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], ebx
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
sub eax, ecx
sar eax, 2
mov ecx, dword [ecx + eax*4 - 4]
call fcn.004ccc30
lea ecx, [esp + 0x6c]
mov dword [esp + 0x14], eax
xor edi, edi
mov dword [esp + 0x10], ebx
cmp ecx, eax
je 0x4e1276
call fcn.00408410
mov ecx, dword [esp + 0x14]
mov ebx, dword [ecx]
mov esi, dword [ecx + 4]
mov eax, dword [ecx + 8]
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
mov edi, esi
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], eax
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0x90]
call fcn.00408410
sub edi, dword [esp + 0x10]
xor eax, eax
sar edi, 2
test edi, edi
je 0x4e12aa
sub esi, ebx
sar esi, 2
cmp esi, eax
jbe 0x4e1531
mov edi, dword [ebx + eax*4]
cmp dword [edi + 8], 2
je 0x4e12ac
inc eax
cmp esi, eax
ja 0x4e129c
xor edi, edi
lea ecx, [esp + 0x6c]
call fcn.00408410
push 0
push 0x561304
push 0x5612c4
push 0
push edi
call fcn.005110f2
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0xa4]
add esp, 0x14
xor ebx, ebx
xor esi, esi
movss xmm0, dword [ecx + 0x1c]
movss xmm2, dword [ecx + 0x18]
movaps xmm1, xmm0
mulss xmm0, dword [0x54f46c]
push 1
mulss xmm1, dword [0x54f494]
push edx
addss xmm1, xmm0
movaps xmm0, xmm2
divss xmm2, dword [0x54f644]
mulss xmm0, dword [0x54f494]
subss xmm0, xmm2
movss dword [eax + 0x14], xmm0
movss dword [eax + 0x18], xmm1
mov dword [eax + 0x1c], 0
mov eax, dword [esp + 0x24]
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], ebx
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x14]
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
sub eax, ecx
sar eax, 2
mov ecx, dword [ecx + eax*4 - 4]
call fcn.004ccc30
lea ecx, [esp + 0x78]
mov dword [esp + 0x14], eax
xor edi, edi
mov dword [esp + 0x10], ebx
cmp ecx, eax
je 0x4e139a
call fcn.00408410
mov ecx, dword [esp + 0x14]
mov ebx, dword [ecx]
mov esi, dword [ecx + 4]
mov eax, dword [ecx + 8]
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
mov edi, esi
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], eax
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0x90]
call fcn.00408410
sub edi, dword [esp + 0x10]
xor eax, eax
sar edi, 2
test edi, edi
je 0x4e13ce
sub esi, ebx
sar esi, 2
cmp esi, eax
jbe 0x4e1531
mov edi, dword [ebx + eax*4]
cmp dword [edi + 8], 0
jne 0x4e13d0
inc eax
cmp esi, eax
ja 0x4e13c0
xor edi, edi
lea ecx, [esp + 0x78]
call fcn.00408410
push 0
push 0x5612e4
push 0x5612c4
push 0
push edi
call fcn.005110f2
add esp, 0x14
test eax, eax
je 0x4e13fb
mov dword [eax + 0x2c], 0x3f800000
mov edi, dword [esp + 0x18]
movss xmm0, dword [edi + 0x1c]
call fcn.00510920
movss xmm0, dword [edi + 0x18]
mov esi, eax
call fcn.00510920
mov ebx, dword [esp + 0x1c]
push esi
push eax
push 0
push 0
push 0
push 1
mov ecx, dword [esp + 0x38]
push 0
push str.Assets_Textures_TheStreetHouse.png
push 0
push 0
push esi
push eax
mov eax, dword [ebx + 8]
push 2
mov eax, dword [eax + 0x14]
push dword [eax + 0x18]
call fcn.00405750
mov eax, dword [ebx + 8]
lea edx, [esp + 0x90]
push 1
xor ebx, ebx
xor esi, esi
push edx
mov eax, dword [eax + 0x14]
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], esi
mov dword [esp + 0x94], ebx
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
sub eax, ecx
sar eax, 2
mov ecx, dword [ecx + eax*4 - 4]
call fcn.004ccc30
lea ecx, [esp + 0x84]
mov dword [esp + 0x14], eax
xor edi, edi
mov dword [esp + 0x10], ebx
cmp ecx, eax
je 0x4e14ca
call fcn.00408410
mov ecx, dword [esp + 0x14]
mov ebx, dword [ecx]
mov esi, dword [ecx + 4]
mov eax, dword [ecx + 8]
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
mov edi, esi
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], eax
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0x90]
call fcn.00408410
sub edi, dword [esp + 0x10]
xor eax, eax
sar edi, 2
test edi, edi
je 0x4e14fa
sub esi, ebx
sar esi, 2
cmp esi, eax
jbe 0x4e1531
mov edi, dword [ebx + eax*4]
cmp dword [edi + 8], 0
jne 0x4e14fc
inc eax
cmp esi, eax
ja 0x4e14ec
xor edi, edi
lea ecx, [esp + 0x84]
call fcn.00408410
push 0
push 0x5612e4
push 0x5612c4
push 0
push edi
call fcn.005110f2
add esp, 0x14
test eax, eax
je 0x4e152a
mov dword [eax + 0x2c], 0x3f800000
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0040d520
int3