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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
mov esi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov ebx, ecx
push edi
mov edi, dword [0x10248ac8]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], esi
test edi, edi
jne 0x1009147e
push 0x108f
push str.D:_aFedorawareFedorawareFedorawareFedoraware_TF2includeImGuiimgui.cpp
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call esi
mov edi, dword [0x10248ac8]
add esp, 0xc
mov dword [ebp - 0x14], edi
cmp byte [edi + 0x45], 0
mov al, byte [edi + 0xdd5]
mov byte [ebp - 5], al
mov al, byte [edi + 0xdd4]
je 0x1009149e
mov cl, byte [edi + 0xdd7]
mov byte [ebp - 0xc], cl
jmp 0x100914a7
mov byte [ebp - 0xc], al
mov al, byte [edi + 0xdd6]
mov ecx, dword [edi + 0x47dc]
mov byte [ebp - 1], al
mov eax, dword [edi + 0x3e58]
test ecx, ecx
je 0x10091730
test eax, eax
jne 0x100914dd
push 0x1cc0
push str.D:_aFedorawareFedorawareFedorawareFedoraware_TF2includeImGuiimgui.cpp
push str.cur_window
call esi
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp ecx, eax
jne 0x10091730
call fcn.10051bc0
test al, al
je 0x100914fd
mov eax, dword [0x10248ac8]
mov dword [eax + 0x4ab4], 1
mov cl, byte [ebp - 0xc]
mov dl, byte [ebp - 5]
mov al, byte [ebp - 1]
mov word [edi + 0x91], 0x101
cmp byte [ebx + 0x3d], 0
jne 0x10091737
test cl, cl
je 0x10091550
test dl, dl
jne 0x10091550
test al, al
jne 0x10091550
push 1
xor edx, edx
mov ecx, 0x23b
call fcn.10052700
add esp, 4
test al, al
je 0x10091547
push ecx
mov ecx, ebx
call fcn.10096450
jmp 0x10091696
mov al, byte [ebp - 1]
mov cl, byte [ebp - 0xc]
mov dl, byte [ebp - 5]
cmp byte [ebx + 0x3d], 0
jne 0x10091737
test cl, cl
jne 0x10091588
test dl, dl
jne 0x10091588
test al, al
je 0x10091588
push 1
xor edx, edx
mov ecx, 0x20b
call fcn.10052700
add esp, 4
test al, al
je 0x10091588
push ecx
mov ecx, ebx
call fcn.10096450
jmp 0x10091696
cmp byte [ebx + 0x3d], 0
jne 0x10091737
mov cl, byte [ebp - 0xc]
test cl, cl
je 0x1009173e
cmp byte [ebp - 5], 0
mov al, byte [ebp - 1]
jne 0x100917a6
test al, al
jne 0x10091bde
push 1
xor edx, edx
mov ecx, 0x23a
call fcn.10052700
add esp, 4
test al, al
je 0x100917ae
mov ecx, ebx
mov edx, 1
call fcn.10096430
test al, al
je 0x10091696
nop
mov eax, edx
dec edx
mov dword [ebp - 0x1c], edx
test eax, eax
jle 0x10091693
mov esi, dword [ebx + 0x34]
lea eax, [esi + 1]
shl esi, 7
mov dword [ebx + 0x34], eax
add esi, dword [ebx + 0x28]
mov dword [ebp - 0x24], esi
cmp dword [esi + 0x38], 0
je 0x1009162b
lea edi, [esi + 0x48]
mov ecx, ebx
push edi
add esi, 0x40
push esi
call fcn.1008f6b0
mov ecx, dword [esi]
mov eax, dword [edi]
sub eax, ecx
inc eax
push eax
lea eax, [ecx - 1]
mov ecx, ebx
push eax
call fcn.100965a0
mov esi, dword [ebp - 0x24]
cmp dword [esi + 0x10], 0
je 0x10091668
cmp dword [esi + 0x14], 0x10
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
mov dword [ebp - 0x10], eax
mov eax, esi
mov dword [ebp - 0xc], ecx
jb 0x10091647
mov eax, dword [esi]
push eax
lea eax, [ebp - 0x10]
mov ecx, ebx
push eax
call fcn.1008f880
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x20]
sub eax, ecx
inc eax
push eax
lea eax, [ecx - 1]
mov ecx, ebx
push eax
call fcn.100965a0
movups xmm0, xmmword [esi + 0x68]
mov ecx, ebx
movups xmmword [ebx + 0x10], xmm0
movq xmm0, qword [esi + 0x78]
movq qword [ebx + 0x20], xmm0
call fcn.100972f0
mov ecx, ebx
call fcn.10096430
mov edx, dword [ebp - 0x1c]
test al, al
jne 0x100915e0
mov edi, dword [ebp - 0x14]
cmp byte [ebx + 0x3d], 0
jne 0x10091730
mov eax, dword [edi + 0x3770]
test eax, eax
je 0x10091730
xor esi, esi
test eax, eax
jle 0x10091700
test esi, esi
js 0x100916bc
cmp esi, eax
jl 0x100916d1
push 0x731
push str.D:_aFedorawareFedorawareFedorawareFedoraware_TF2includeImGuiimgui.h
push str.i___0__i___Size
call dword [ebp - 0x18]
add esp, 0xc
mov eax, dword [edi + 0x3778]
movzx eax, word [eax + esi*2]
test ax, ax
je 0x100916f5
cmp eax, 0xa
je 0x100916ea
cmp eax, 0x20
jb 0x100916f5
push dword [ebp - 5]
mov ecx, ebx
push eax
call fcn.10093fc0
mov eax, dword [edi + 0x3770]
inc esi
cmp esi, eax
jl 0x100916b4
mov ecx, dword [edi + 0x3774]
test ecx, ecx
jns 0x10091726
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x3770]
call fcn.1005e870
mov dword [edi + 0x3770], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov cl, byte [ebp - 0xc]
test cl, cl
jne 0x100917a3
mov al, byte [ebp - 1]
test al, al
jne 0x10091771
push 1
xor edx, edx
mov ecx, 0x203
call fcn.10052700
add esp, 4
test al, al
je 0x1009176b
push dword [ebp - 5]
mov ecx, ebx
push 1
call fcn.10094f80
jmp 0x10091696
mov al, byte [ebp - 1]
mov cl, byte [ebp - 0xc]
test cl, cl
jne 0x100917a6
test al, al
jne 0x10091cb0
push 1
xor edx, edx
mov ecx, 0x204
call fcn.10052700
add esp, 4
test al, al
je 0x100917ae
push dword [ebp - 5]
mov ecx, ebx
push 1
call fcn.10095030
jmp 0x10091696
mov al, byte [ebp - 1]
test al, al
jne 0x10091bde
push 1
xor edx, edx
mov ecx, 0x201
call fcn.10052700
add esp, 4
test al, al
je 0x100917d6
push dword [ebp - 0xc]
push dword [ebp - 5]
push ecx
mov ecx, ebx
call fcn.10095120
jmp 0x10091696
push 1
xor edx, edx
mov ecx, 0x202
call fcn.10052700
add esp, 4
test al, al
je 0x100917fe
push dword [ebp - 0xc]
push dword [ebp - 5]
push ecx
mov ecx, ebx
call fcn.10095380
jmp 0x10091696
push 1
xor edx, edx
mov ecx, 0x205
call fcn.10052700
add esp, 4
test al, al
je 0x10091864
mov eax, dword [0x10248ac8]
push dword [ebp - 5]
sub esp, 8
mov eax, dword [eax + 0x3e58]
movss xmm0, dword [eax + 0x20]
subss xmm0, dword [0x10234e34]
divss xmm0, dword [ebx + 0x21c]
movss dword [ebp - 0x24], xmm0
fld dword [ebp - 0x24]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_floor
fstp dword [ebp - 0x24]
cvttss2si eax, dword [ebp - 0x24]
add esp, 8
mov ecx, ebx
sub eax, 4
push eax
call fcn.10094f80
jmp 0x10091696
push 1
xor edx, edx
mov ecx, 0x206
call fcn.10052700
add esp, 4
test al, al
je 0x100918ca
mov eax, dword [0x10248ac8]
push dword [ebp - 5]
sub esp, 8
mov eax, dword [eax + 0x3e58]
movss xmm0, dword [eax + 0x20]
subss xmm0, dword [0x10234e34]
divss xmm0, dword [ebx + 0x21c]
movss dword [ebp - 0x24], xmm0
fld dword [ebp - 0x24]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_floor
fstp dword [ebp - 0x24]
cvttss2si eax, dword [ebp - 0x24]
add esp, 8
mov ecx, ebx
sub eax, 4
push eax
call fcn.10095030
jmp 0x10091696
push 1
xor edx, edx
mov ecx, 0x207
call fcn.10052700
add esp, 4
cmp byte [ebp - 0xc], 0
je 0x10091973
test al, al
je 0x10091be8
mov eax, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x24]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], ecx
test eax, eax
jne 0x10091905
test ecx, ecx
jne 0x10091905
mov esi, eax
jmp 0x10091923
mov ecx, ebx
mov dword [ebx + 0x20], 0
mov esi, eax
mov dword [ebx + 0x24], 0
mov byte [ebx + 0x4c], 1
call fcn.100972f0
mov ecx, dword [ebp - 0x1c]
cmp dword [ebx + 0x20], esi
jne 0x10091931
cmp dword [ebx + 0x24], ecx
je 0x10091696
cmp byte [ebp - 5], 0
lea esi, [ebx + 0x220]
mov ecx, dword [ebx + 0x20]
lea eax, [ebx + 0x228]
mov edx, dword [ebx + 0x24]
je 0x10091959
mov edi, dword [ebp - 0x24]
mov dword [eax], edi
mov edi, dword [ebp - 0x1c]
mov dword [eax + 4], edi
mov edi, dword [ebp - 0x14]
jmp 0x1009195e
mov dword [eax], ecx
mov dword [eax + 4], edx
push 0
mov dword [esi], ecx
mov ecx, ebx
push eax
push esi
mov dword [esi + 4], edx
call fcn.10094b80
jmp 0x10091696
test al, al
je 0x10091a86
mov eax, dword [ebx + 0x20]
lea esi, [ebx + 0x20]
mov ecx, dword [esi + 4]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], ecx
test eax, eax
jns 0x100919a3
push 0x4c
push str.D:_aFedorawareFedorawareFedorawareFedoraware_TF2includeImGuiTextEditor.h
push str.aLine___0
call dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
add esp, 0xc
mov dword [ebp - 0x24], esi
cmp dword [esi], eax
jne 0x100919b6
cmp dword [esi + 4], 0
je 0x100919d0
lea ecx, [ebx + 0x20]
mov dword [ebp - 0x24], ecx
mov ecx, ebx
mov dword [esi], eax
mov dword [esi + 4], 0
mov byte [ebx + 0x4c], 1
call fcn.100972f0
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp dword [esi], eax
jne 0x100919e0
cmp dword [esi + 4], ecx
je 0x10091696
cmp byte [ebp - 5], 0
lea edi, [ebx + 0x220]
je 0x10091a61
cmp eax, dword [edi]
jne 0x10091a03
cmp ecx, dword [edi + 4]
jne 0x10091a03
mov eax, dword [ebx + 0x20]
lea edx, [ebx + 0x228]
mov ecx, dword [ebx + 0x24]
jmp 0x10091a71
cmp eax, dword [ebx + 0x228]
lea edx, [ebx + 0x228]
jne 0x10091a34
cmp ecx, dword [ebx + 0x22c]
jne 0x10091a34
mov ecx, dword [ebx + 0x24]
mov eax, dword [ebx + 0x20]
push 0
push edx
mov dword [edx + 4], ecx
mov ecx, ebx
push edi
mov dword [edx], eax
call fcn.10094b80
jmp 0x10091693
mov ecx, dword [ebx + 0x24]
mov eax, dword [ebx + 0x20]
push 0
mov dword [ebx + 0x224], ecx
mov ecx, dword [ebp - 0x1c]
push edx
mov dword [ebx + 0x220], eax
mov eax, dword [ebp - 0xc]
mov dword [edx + 4], ecx
mov ecx, ebx
push edi
mov dword [edx], eax
call fcn.10094b80
jmp 0x10091693
mov eax, dword [esi]
lea edx, [ebx + 0x228]
mov ecx, dword [esi + 4]
mov dword [edx], eax
mov dword [edx + 4], ecx
push 0
push edx
mov dword [edi + 4], ecx
mov ecx, ebx
push edi
mov dword [edi], eax
call fcn.10094b80
jmp 0x10091693
mov al, byte [ebp - 1]
test al, al
jne 0x10091cb0
push 1
xor edx, edx
mov ecx, 0x208
call fcn.10052700
add esp, 4
test al, al
je 0x10091cad
mov esi, dword [ebx + 0x20]
mov ecx, ebx
mov eax, dword [ebx + 0x24]
push esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0xc], eax
call fcn.100905f0
mov edx, eax
mov dword [ebp - 0x24], edx
test esi, esi
jns 0x10091adc
push 0x4c
push str.D:_aFedorawareFedorawareFedorawareFedoraware_TF2includeImGuiTextEditor.h
push str.aLine___0
call dword [ebp - 0x18]
mov edx, dword [ebp - 0x24]
add esp, 0xc
lea ecx, [ebx + 0x20]
mov esi, ecx
mov dword [ebp - 0x1c], esi
test edx, edx
jns 0x10091b06
push 0x4d
push str.D:_aFedorawareFedorawareFedorawareFedoraware_TF2includeImGuiTextEditor.h
push str.aColumn___0
call dword [ebp - 0x18]
mov edx, dword [ebp - 0x24]
lea esi, [ebx + 0x20]
add esp, 0xc
mov dword [ebp - 0x1c], esi
lea ecx, [ebx + 0x20]
mov eax, dword [ebp - 0x14]
cmp dword [ecx], eax
jne 0x10091b12
cmp dword [ecx + 4], edx
je 0x10091b2b
lea esi, [ebx + 0x20]
mov ecx, ebx
mov dword [esi], eax
mov dword [ebp - 0x1c], esi
mov dword [esi + 4], edx
mov byte [ebx + 0x4c], 1
call fcn.100972f0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
cmp dword [esi], eax
jne 0x10091b3b
cmp dword [esi + 4], ecx
je 0x10091696
cmp byte [ebp - 5], 0
lea esi, [ebx + 0x228]
je 0x10091bb6
cmp eax, dword [esi]
jne 0x10091b5e
cmp ecx, dword [esi + 4]
jne 0x10091b5e
mov eax, dword [ebx + 0x20]
lea edx, [ebx + 0x220]
mov ecx, dword [ebx + 0x24]
jmp 0x10091bc9
cmp eax, dword [ebx + 0x220]
lea edx, [ebx + 0x220]
jne 0x10091b8f
cmp ecx, dword [ebx + 0x224]
jne 0x10091b8f
mov ecx, dword [ebx + 0x24]
mov eax, dword [ebx + 0x20]
push 0
push esi
mov dword [edx + 4], ecx
mov ecx, ebx
push edx
mov dword [edx], eax
call fcn.10094b80
jmp 0x10091696
push 0
mov dword [edx + 4], ecx
mov ecx, dword [ebx + 0x24]
push esi
mov dword [edx], eax
mov eax, dword [ebx + 0x20]
mov dword [ebx + 0x22c], ecx
mov ecx, ebx
push edx
mov dword [ebx + 0x228], eax
call fcn.10094b80
jmp 0x10091696
mov ecx, dword [ebp - 0x1c]
lea edx, [ebx + 0x220]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [edx], eax
mov dword [edx + 4], ecx
push 0
push esi
mov dword [esi + 4], ecx
mov ecx, ebx
push edx
mov dword [esi], eax
call fcn.10094b80
jmp 0x10091696
test cl, cl
je 0x10091cb0
jmp 0x10091beb
mov al, byte [ebp - 1]
test al, al
jne 0x10091cb0
push 1
xor edx, edx
mov ecx, 0x208
call fcn.10052700
add esp, 4
test al, al
je 0x10091cad
lea esi, [ebx + 0x20]
mov ecx, ebx
push esi
lea eax, [ebp - 0x28]
push eax
call fcn.1008f490
mov ecx, dword [ebx + 8]
mov eax, 0x2aaaaaab
sub ecx, dword [ebx + 4]
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
dec eax
add eax, edx
mov dword [ebp - 0x1c], eax
jns 0x10091c4c
push 0x4c
push str.D:_aFedorawareFedorawareFedorawareFedoraware_TF2includeImGuiTextEditor.h
push str.aLine___0
call dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
add esp, 0xc
cmp dword [esi], eax
jne 0x10091c56
cmp dword [esi + 4], 0
je 0x10091c6d
mov ecx, ebx
mov dword [esi], eax
mov dword [esi + 4], 0
mov byte [ebx + 0x4c], 1
call fcn.100972f0
mov eax, dword [ebp - 0x1c]
cmp byte [ebp - 5], 0
lea edx, [ebx + 0x228]
lea esi, [ebx + 0x220]
je 0x10091c91
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov dword [esi], eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 4], ecx
xor ecx, ecx
jmp 0x10091c98
xor ecx, ecx
mov dword [esi], eax
mov dword [esi + 4], ecx
push 0
push edx
mov dword [edx + 4], ecx
mov ecx, ebx
push esi
mov dword [edx], eax
call fcn.10094b80
jmp 0x10091696
mov al, byte [ebp - 1]
cmp byte [ebx + 0x3d], 0
mov cl, byte [ebp - 0xc]
jne 0x10091cea
test cl, cl
jne 0x10091cea
cmp byte [ebp - 5], cl
jne 0x10091cea
test al, al
jne 0x10091cea
push 1
xor edx, edx
mov ecx, 0x20a
call fcn.10052700
add esp, 4
test al, al
je 0x10091ce7
mov ecx, ebx
call fcn.100955c0
jmp 0x10091696
mov cl, byte [ebp - 0xc]
cmp byte [ebp - 5], 0
mov al, byte [ebx + 0x3d]
jne 0x10091d8a
test cl, cl
jne 0x10091d4d
test al, al
mov al, byte [ebp - 1]
jne 0x10091d2b
test al, al
jne 0x10091d8d
push 1
xor edx, edx
mov ecx, 0x20b
call fcn.10052700
add esp, 4
test al, al
je 0x10091d2f
mov ecx, ebx
call fcn.100959d0
jmp 0x10091696
test al, al
jne 0x10091d8d
push 1
xor edx, edx
mov ecx, 0x209
call fcn.10052700
add esp, 4
test al, al
je 0x10091d8a
xor byte [ebx + 0x3c], 1
jmp 0x10091696
mov al, byte [ebp - 1]
test al, al
jne 0x10091d8d
push 1
xor edx, edx
mov ecx, 0x209
call fcn.10052700
add esp, 4
test al, al
jne 0x10091d7e
push 1
xor edx, edx
mov ecx, 0x224
call fcn.10052700
add esp, 4
test al, al
je 0x10091d8a
mov ecx, ebx
call fcn.10095f50
jmp 0x10091696
mov al, byte [ebp - 1]
cmp byte [ebx + 0x3d], 0
mov cl, byte [ebp - 0xc]
jne 0x10091df8
test cl, cl
jne 0x10091dbb
cmp byte [ebp - 5], cl
je 0x10091dbb
test al, al
jne 0x10091dbb
push 1
xor edx, edx
mov ecx, 0x209
call fcn.10052700
add esp, 4
test al, al
jne 0x10091dec
mov cl, byte [ebp - 0xc]
cmp byte [ebx + 0x3d], 0
jne 0x10091df8
test cl, cl
je 0x10091eac
mov al, byte [ebp - 5]
test al, al
jne 0x10091e27
mov al, byte [ebp - 1]
test al, al
jne 0x10091e2a
push 1
xor edx, edx
mov ecx, 0x237
call fcn.10052700
add esp, 4
test al, al
je 0x10091e0e
mov ecx, ebx
call fcn.10096220
jmp 0x10091696
test cl, cl
je 0x10091eac
mov al, byte [ebp - 5]
test al, al
jne 0x10091e27
mov al, byte [ebp - 1]
test al, al
jne 0x10091e2a
push 1
xor edx, edx
mov ecx, 0x239
call fcn.10052700
add esp, 4
test al, al
jne 0x10091ece
mov al, byte [ebp - 1]
cmp byte [ebp - 5], 0
jne 0x10091ee8
test al, al
jne 0x10091ee8
push 1
xor edx, edx
mov ecx, 0x222
call fcn.10052700
add esp, 4
test al, al
je 0x10091ee8
mov ecx, dword [ebx + 8]
mov eax, 0x2aaaaaab
sub ecx, dword [ebx + 4]
imul ecx
mov dword [ebp - 0x24], 0
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x28], eax
jns 0x10091e88
push 0x4c
push str.D:_aFedorawareFedorawareFedorawareFedoraware_TF2includeImGuiTextEditor.h
push str.aLine___0
call esi
add esp, 0xc
push 0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x20], 0
push eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x1c], 0
push eax
mov ecx, ebx
call fcn.10094b80
jmp 0x10091696
cmp byte [ebp - 5], 0
mov al, byte [ebp - 1]
je 0x10091ee0
test al, al
jne 0x10091ee0
push 1
xor edx, edx
mov ecx, 0x20a
call fcn.10052700
add esp, 4
test al, al
je 0x10091eda
mov ecx, ebx
call fcn.100960d0
jmp 0x10091696
mov al, byte [ebp - 1]
mov cl, byte [ebp - 0xc]
test cl, cl
jne 0x10091e2a
cmp byte [ebx + 0x3d], 0
mov cl, byte [ebp - 0xc]
mov al, byte [ebp - 1]
jne 0x10091730
test cl, cl
jne 0x10091f30
cmp byte [ebp - 5], cl
jne 0x10091f30
test al, al
jne 0x10091f30
push 1
xor edx, edx
mov ecx, 0x20d
call fcn.10052700
add esp, 4
test al, al
je 0x10091f2a
push 0
push 0xa
mov ecx, ebx
call fcn.10093fc0
jmp 0x10091696
mov al, byte [ebp - 1]
mov cl, byte [ebp - 0xc]
cmp byte [ebx + 0x3d], 0
jne 0x10091730
test cl, cl
jne 0x10091696
test al, al
jne 0x10091696
push 1
xor edx, edx
mov ecx, 0x200
call fcn.10052700
add esp, 4
test al, al
je 0x10091696
push dword [ebp - 5]
mov ecx, ebx
push 9
call fcn.10093fc0
jmp 0x10091696