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

Disassembly:
sub esp, 0x1a8
push esi
push edi
push str.RenderMenu__
call fcn.10056bb4
mov eax, dword fs:[0x2c]
pop ecx
mov ecx, dword [0x101b7828]
mov esi, dword [eax + ecx*4]
mov eax, dword [0x101b714c]
cmp eax, dword [esi + 4]
jg 0x1004818a
mov eax, dword [0x101b7154]
cmp eax, dword [esi + 4]
jg 0x100481e1
push 9
pop ecx
push 0xdc
lea eax, [esp + 0xd8]
mov esi, str.________________TRABZON_HAYATBITTI
lea edi, [esp + 0xb4]
push 0
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.1005af40
mov edi, dword [0x101822a0]
add esp, 0xc
test edi, edi
je 0x10048181
push ebx
xor ebx, ebx
inc ebx
cmp dword [0x101b7144], 0
jne 0x10047adb
xor edx, edx
mov ecx, ebx
xor eax, eax
mov dword [0x101b7158], ecx
mov dword [0x101b715c], edx
mov dword [0x101b7160], eax
jmp 0x10047aec
mov ecx, dword [0x101b7158]
mov edx, dword [0x101b715c]
mov eax, dword [0x101b7160]
test eax, eax
jne 0x10047b0e
inc ecx
inc edx
mov dword [0x101b7158], ecx
mov dword [0x101b715c], edx
cmp ecx, 0x16
jne 0x10047b0e
cmp edx, 0x15
cmove eax, ebx
mov dword [0x101b7160], eax
mov ecx, edi
mov edx, dword [ecx]
test edx, edx
je 0x10047b20
mov eax, dword [edx]
mov ecx, edx
mov edx, eax
test eax, eax
jne 0x10047b16
mov eax, dword [ecx + 0xc]
test eax, eax
js 0x10047b7e
cmp eax, dword [ecx + 8]
jge 0x10047b7e
imul esi, eax, 0x18
add esi, dword [ecx + 0x14]
cmp dword [esi], 0
je 0x10047b7e
cmp ecx, edi
je 0x10047b7e
lea ecx, [esp + 0xb4]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10047b45
push dword [esi + 8]
sub ecx, edx
mov eax, 0x100
sub eax, ecx
push str.____s
push eax
lea eax, [esp + 0xc0]
add eax, ecx
push eax
call fcn.10006b5a
mov ecx, dword [esi]
add esp, 0x10
test ecx, ecx
je 0x10047b7e
mov edi, dword [0x101822a0]
jmp 0x10047b20
mov ebx, dword [0x101ab08c]
lea eax, [esp + 0xb4]
sub ebx, dword [0x101b7150]
xor edi, edi
sub ebx, dword [0x101b7148]
mov ecx, dword [0x101ab0d8]
sub ebx, 0x18
push ebp
mov ebp, dword [0x101ab088]
push edi
shr ebp, 1
push eax
sub ebp, 0xc8
call fcn.100404b9
lea esi, [ebp - 0x2d]
fstp st(0)
movd xmm0, esi
lea eax, [esp + 0x28]
push eax
cvtdq2ps xmm0, xmm0
push ecx
and dword [esp], edi
lea eax, [esp + 0x40]
push edi
push edi
push ecx
and dword [esp], edi
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [esp + 0x2c]
addss xmm0, dword [0x100923d4]
push edi
push eax
movss dword [esp + 0x48], xmm0
call sub.d3dx9_43.dll_D3DXMatrixTransformation2D
mov eax, dword [0x101ab040]
push 0x10
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov eax, dword [0x101ab040]
lea edx, [esp + 0x38]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [0x101ab040]
push 0xffffffffffffffff
push edi
push edi
mov ecx, dword [eax]
push edi
push dword [0x101ab03c]
push eax
call dword [ecx + 0x24]
mov eax, dword [0x101ab040]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov ecx, dword [0x101ab0d8]
lea eax, [esp + 0xb8]
push edi
push eax
call fcn.100404b9
fsub dword [0x100923d0]
lea eax, [esp + 0x30]
push eax
push ecx
movd xmm0, esi
and dword [esp], edi
cvtdq2ps xmm0, xmm0
push edi
push edi
push ecx
and dword [esp], edi
fstp dword [esp + 0x24]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esp + 0x2c]
addss xmm0, dword [0x100923dc]
push edi
movss dword [esp + 0x30], xmm0
movss dword [esp + 0x4c], xmm0
lea eax, [esp + 0x90]
push eax
call sub.d3dx9_43.dll_D3DXMatrixTransformation2D
mov eax, dword [0x101ab048]
push 0x10
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov eax, dword [0x101ab048]
lea edx, [esp + 0x78]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [0x101ab048]
push 0xffffffffffffffff
push edi
push edi
mov ecx, dword [eax]
push edi
push dword [0x101ab044]
push eax
call dword [ecx + 0x24]
mov eax, dword [0x101ab048]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
movss xmm0, dword [esp + 0x10]
lea eax, [esp + 0xb8]
maxss xmm0, dword [0x10080f78]
push edi
push ecx
mov ecx, dword [0x101ab0d8]
movss dword [esp], xmm0
push eax
call fcn.100408e0
mov edi, eax
test edi, edi
jle 0x10047d05
inc edi
mov edx, dword [0x100de65c]
mov ecx, dword [edx + 4]
movzx esi, byte [edx + 8]
movzx eax, byte [edx + 0xc]
shl ecx, 8
or esi, ecx
mov ecx, dword [0x101ab0d4]
shl esi, 8
or esi, eax
movzx eax, byte [edx + 0x10]
shl esi, 8
or esi, eax
mov eax, dword [0x101b7148]
push esi
push 0xdf5213d1
add eax, 2
push eax
push 0x190
push ebx
push ebp
call fcn.100401a5
lea eax, [esp + 0xb8]
add eax, edi
push eax
lea eax, [ebx + 1]
movd xmm0, eax
lea eax, [ebp + 1]
cvtdq2ps xmm0, xmm0
push 0xfffafafa
push ecx
push ecx
mov ecx, dword [0x101ab0d8]
movss dword [esp + 4], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
call fcn.100416a6
mov ecx, dword [0x100de660]
mov ebx, dword [0x101ab08c]
mov esi, dword [0x101b7150]
sub ebx, esi
mov ebp, dword [0x101ab088]
sub ebx, 0x15
mov eax, dword [ecx + 4]
movzx edx, byte [ecx + 8]
shl eax, 8
or edx, eax
shr ebp, 1
movzx eax, byte [ecx + 0xc]
sub ebp, 0xc8
shl edx, 8
or edx, eax
movzx eax, byte [ecx + 0x10]
mov ecx, dword [0x101ab0d4]
shl edx, 8
or edx, eax
push edx
push 0xdf5213d1
push esi
push 0x190
push ebx
push ebp
call fcn.100401a5
mov edx, dword [0x101822a0]
mov esi, dword [edx + 0xc]
mov edi, esi
mov dword [esp + 0x10], esi
lea eax, [esi - 0xc]
cmp eax, dword [edx + 0x10]
lea ecx, [esi - 0xb]
cmovl ecx, dword [edx + 0x10]
cmp esi, ecx
cmovge edi, ecx
test edi, edi
jns 0x10047e0a
xor edi, edi
jmp 0x10047e14
mov eax, dword [edx + 8]
cmp edi, eax
jl 0x10047e14
lea edi, [eax - 1]
movd xmm0, ebx
lea eax, [edi + 0xc]
mov dword [edx + 0x10], edi
mov dword [esp + 0x24], eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x14], xmm0
cmp edi, eax
jge 0x1004817f
mov ecx, dword [0x101822a0]
imul eax, edi, 0x18
mov dword [esp + 0x18], eax
test edi, edi
js 0x10048156
cmp edi, dword [ecx + 8]
jge 0x10048156
mov ebx, dword [ecx + 0x14]
add ebx, eax
push ebx
push 0
call dword [ecx + 0x18]
mov dword [esp + 0x24], eax
pop ecx
pop ecx
cmp edi, esi
jne 0x10047f02
movss xmm4, dword [esp + 0x14]
movss xmm3, dword [0x1009067c]
movaps xmm0, xmm4
movss xmm1, dword [0x10090678]
andps xmm3, xmm4
mov edx, dword [0x100de664]
xorps xmm0, xmm3
cmpltss xmm0, xmm1
movaps xmm2, xmm4
push 0
mov ecx, dword [edx + 4]
movzx esi, byte [edx + 8]
movzx eax, byte [edx + 0xc]
andps xmm1, xmm0
orps xmm1, xmm3
shl ecx, 8
addss xmm2, xmm1
or esi, ecx
mov ecx, dword [0x101ab0d4]
shl esi, 8
or esi, eax
movzx eax, byte [edx + 0x10]
shl esi, 8
subss xmm2, xmm1
or esi, eax
movss xmm1, dword [0x10080f60]
mov eax, dword [0x101b7148]
push esi
inc eax
movaps xmm0, xmm2
subss xmm0, xmm4
push eax
push 0x18f
cmpnless xmm0, xmm3
andps xmm0, xmm1
subss xmm2, xmm0
cvttss2si eax, xmm2
inc eax
push eax
lea eax, [ebp + 1]
push eax
call fcn.100401f1
cmp edi, dword [0x100de090]
jne 0x10047fab
movss xmm4, dword [esp + 0x14]
movss xmm3, dword [0x1009067c]
movaps xmm0, xmm4
movss xmm1, dword [0x10090678]
andps xmm3, xmm4
mov esi, dword [0x100de664]
xorps xmm0, xmm3
cmpltss xmm0, xmm1
movaps xmm2, xmm4
push 0
mov eax, dword [esi + 4]
movzx ecx, byte [esi + 8]
andps xmm1, xmm0
cdq
orps xmm1, xmm3
sub eax, edx
addss xmm2, xmm1
sar eax, 1
shl eax, 8
or eax, ecx
movzx ecx, byte [esi + 0xc]
shl eax, 8
or eax, ecx
movzx ecx, byte [esi + 0x10]
subss xmm2, xmm1
shl eax, 8
movss xmm1, dword [0x10080f60]
or eax, ecx
mov ecx, dword [0x101ab0d4]
push eax
mov eax, dword [0x101b7148]
movaps xmm0, xmm2
inc eax
subss xmm0, xmm4
push eax
push 0x18f
cmpnless xmm0, xmm3
andps xmm0, xmm1
subss xmm2, xmm0
cvttss2si eax, xmm2
inc eax
push eax
lea eax, [ebp + 1]
push eax
call fcn.100401f1
mov esi, dword [ebx + 8]
cmp byte [esi], 9
jne 0x10048083
movss xmm0, dword [esp + 0x14]
lea eax, [esi + 1]
push eax
push dword [ebx + 0x10]
lea esi, [ebp + 2]
push ecx
push ecx
mov ecx, dword [0x101ab0d8]
movss dword [esp + 4], xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
call fcn.100416a6
mov eax, dword [ebx + 8]
mov ecx, dword [0x101ab0d8]
inc eax
push 0
push eax
call fcn.100404b9
push ecx
push ecx
fstp qword [esp]
call fcn.100681e0
movss xmm4, dword [esp + 0x1c]
movss xmm3, dword [0x1009067c]
movaps xmm0, xmm4
movss xmm1, dword [0x10090678]
andps xmm3, xmm4
xorps xmm0, xmm3
movaps xmm2, xmm4
cmpltss xmm0, xmm1
pop ecx
pop ecx
fstp dword [esp + 0x1c]
cvttss2si eax, dword [esp + 0x1c]
push 0
push 0xbf7f7f7f
push 1
andps xmm1, xmm0
orps xmm1, xmm3
addss xmm2, xmm1
push eax
mov eax, dword [0x101b7148]
dec eax
subss xmm2, xmm1
movss xmm1, dword [0x10080f60]
movaps xmm0, xmm2
subss xmm0, xmm4
cmpnless xmm0, xmm3
andps xmm0, xmm1
subss xmm2, xmm0
cvttss2si ecx, xmm2
add eax, ecx
mov ecx, dword [0x101ab0d4]
push eax
push esi
call fcn.100401f1
jmp 0x100480da
cmp dword [esp + 0x1c], 0
je 0x100480ad
mov ecx, dword [0x100de668]
mov edx, dword [ecx + 8]
movzx eax, byte [ecx + 0xc]
or edx, 0xffffff00
shl edx, 8
or edx, eax
movzx eax, byte [ecx + 0x10]
shl edx, 8
or edx, eax
jmp 0x100480b0
mov edx, dword [ebx + 0x10]
movss xmm0, dword [esp + 0x14]
push esi
push edx
push ecx
push ecx
mov ecx, dword [0x101ab0d8]
lea esi, [ebp + 2]
movss dword [esp + 4], xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
call fcn.100416a6
cmp dword [ebx], 0
movss xmm0, dword [esp + 0x14]
je 0x10048148
mov ebx, 0x10090e50
push ebx
push 0xbf7f7f7f
push ecx
mov ecx, dword [0x101ab0d8]
movss dword [esp], xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
push 0
push ebx
addss xmm0, dword [0x100923d0]
movss dword [esp + 0x30], xmm0
call fcn.100404b9
movss xmm0, dword [esp + 0x28]
fstp dword [esp + 0x2c]
subss xmm0, dword [esp + 0x2c]
push ecx
mov ecx, dword [0x101ab0d8]
subss xmm0, dword [0x1008ec88]
movss dword [esp], xmm0
call fcn.100416a6
movss xmm0, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov ecx, dword [0x101822a0]
add eax, 0x18
inc edi
mov dword [esp + 0x18], eax
mov eax, dword [0x101ab0d8]
addss xmm0, dword [eax + 0xe45]
mov eax, dword [esp + 0x18]
movss dword [esp + 0x14], xmm0
cmp edi, dword [esp + 0x24]
jl 0x10047e40
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x1a8
ret
mov edi, 0x101b714c
push edi
call fcn.100588df
cmp dword [0x101b714c], 0xffffffff
pop ecx
jne 0x10047a6e
mov eax, dword [0x101ab0d8]
push ecx
push ecx
movss xmm0, dword [eax + 0xe45]
movss dword [esp + 0x10], xmm0
fld dword [esp + 0x10]
fstp qword [esp]
call fcn.100681e0
fstp dword [esp + 0x10]
cvttss2si eax, dword [esp + 0x10]
push edi
mov dword [0x101b7148], eax
call fcn.10058895
add esp, 0xc
jmp 0x10047a6e
mov esi, 0x101b7154
push esi
call fcn.100588df
cmp dword [0x101b7154], 0xffffffff
pop ecx
jne 0x10047a7f
mov eax, dword [0x101ab0d8]
push ecx
push ecx
movss xmm0, dword [eax + 0xe45]
mulss xmm0, dword [0x10086864]
movss dword [esp + 0x10], xmm0
fld dword [esp + 0x10]
fstp qword [esp]
call fcn.100681e0
fstp dword [esp + 0x10]
cvttss2si eax, dword [esp + 0x10]
push esi
add eax, 2
mov dword [0x101b7150], eax
call fcn.10058895
add esp, 0xc
jmp 0x10047a7f