Function at 0x10036b30
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004c7d3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa0
push ebx
push esi
push edi
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
call fcn.1003f640
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
call fcn.1003f640
mov esi, eax
mov dword [ebp - 0x20], esi
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 1
mov ebx, dword [eax]
mov dword [ebp - 0x18], ebx
cmp ebx, dword [eax + 4]
je 0x10036f76
nop
mov edi, dword [ebx]
cmp dword [edi + 0x5c], 0
je 0x10036bb6
mov eax, dword [edi + 0x58]
mov edi, dword [edi + 0x68]
mov edi, dword [edi + eax*4]
mov eax, dword [ebp + 0xc]
jmp 0x10036bb8
xor edi, edi
test edi, edi
je 0x10036f64
mov eax, dword [ebp + 8]
lea ecx, [eax + 0x360]
mov dword [ebp - 0x6c], ecx
lea ecx, [eax + 0xcc]
mov dword [ebp - 0x44], ecx
lea ecx, [eax + 0x6c]
mov dword [ebp - 0x4c], ecx
lea ecx, [eax + 0x7c]
add eax, 0x378
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], eax
nop dword [eax]
mov eax, dword [edi + 0xc]
lea ebx, [edi + 0xc]
movss xmm1, dword [0x10052f64]
mov ecx, eax
mov edx, eax
movss dword [ebp - 0x14], xmm1
mov esi, eax
movzx eax, byte [eax + 0x10]
push eax
push dword [ebp - 0x6c]
lea eax, [ecx + 0x4c]
push eax
push dword [ebp - 0x44]
lea eax, [edx + 0x108]
push eax
push dword [ebp - 0x4c]
lea eax, [esi + 0x70]
push eax
push dword [ebp - 0x3c]
mov eax, dword [ebx]
add eax, 0x88
push eax
call fcn.10040480
test al, al
je 0x10036c69
mov eax, dword [ebx]
xorps xmm0, xmm0
comiss xmm0, dword [eax + 0xc]
jbe 0x10036c4f
movss xmm1, dword [0x10052f88]
jmp 0x10036c64
mov ecx, dword [ebp + 8]
lea edx, [eax + 0x1c]
sub ecx, 0xffffff80
call fcn.10026e70
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movss dword [ebp - 0x14], xmm1
push ecx
mov ecx, dword [ebp - 0x40]
lea eax, [edi + 8]
push eax
push dword [eax]
call fcn.1000ce40
mov ecx, dword [ebp + 8]
mov esi, eax
mov eax, dword [ebx]
movss xmm0, dword [eax + 0xc]
mulss xmm0, dword [ecx + 0x9c]
comiss xmm0, xmm1
jbe 0x10036da4
test esi, esi
sete al
test al, al
mov eax, dword [ebx]
je 0x10036d08
mov eax, dword [eax + 0x34]
lea edx, [ebp - 0x68]
push ebx
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x68], eax
movss dword [ebp - 0x64], xmm1
call fcn.10040630
add esp, 4
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.10041e40
push eax
add eax, 0x10
push eax
push ecx
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x28]
call fcn.10041f40
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x80]
test esi, esi
je 0x10036f52
add dword [esi + 0x38], 0xffffffff
jne 0x10036f52
mov ecx, esi
call fcn.1000cb00
mov byte [ebp - 4], 3
jmp 0x10036d8f
cmp dword [eax + 4], 0
je 0x10036d2a
mov ecx, dword [ecx + 0xc0]
lea eax, [edi + 8]
push eax
push eax
lea eax, [ebp - 0x74]
add ecx, 0x54
push eax
call fcn.10040b00
movss xmm1, dword [ebp - 0x14]
mov eax, dword [ebx]
lea edx, [ebp - 0x54]
push ebx
lea ecx, [ebp - 0x94]
movss dword [ebp - 0x50], xmm1
mov eax, dword [eax + 0x34]
mov dword [ebp - 0x54], eax
call fcn.10040630
add esp, 4
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call fcn.10041e40
push eax
add eax, 0x10
push eax
push ecx
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x20]
call fcn.10041f40
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x8c]
test esi, esi
je 0x10036f52
add dword [esi + 0x38], 0xffffffff
jne 0x10036f52
mov ecx, esi
call fcn.1000cb00
mov byte [ebp - 4], 5
push dword [esi - 4]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov byte [ebp - 4], 1
jmp 0x10036f52
test esi, esi
setne al
test al, al
je 0x10036f52
mov ecx, dword [ebp - 0x3c]
mov eax, dword [esi + 0xc]
push eax
mov dword [ebp - 0x10], eax
mov ecx, dword [ecx]
push ecx
push str.RemovePlayerMapIcon__d___d_
mov dword [ebp - 0x38], ecx
call fcn.100034d0
mov eax, dword [0x100595a8]
add esp, 0xc
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10036e06
cmp eax, fcn.100041f0
jne 0x10036e10
push str.SAMGDK_NATIVE_SEARCH_ALWAYS
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
add esp, 4
test eax, eax
je 0x10036e01
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
test eax, eax
jne 0x10036e06
mov eax, dword [ebp - 0x14]
jmp 0x10036e10
mov ecx, str.RemovePlayerMapIcon
call fcn.10004200
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x5c], ecx
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x58], ecx
lea ecx, [ebp - 0x60]
push ecx
push 0x100595e0
mov dword [0x100595a8], eax
mov dword [ebp - 0x60], 8
call eax
mov eax, dword [ebx]
add esp, 8
cmp byte [eax + 0x3c], 0
je 0x10036ecd
mov ebx, dword [ebp - 0x34]
lea eax, [ebp - 0x30]
mov ecx, dword [edi + 8]
add ebx, 0xc4
mov dword [ebp - 0x30], 4
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x2c], ecx
cmp eax, dword [ebx + 4]
jae 0x10036ea6
mov eax, dword [ebx]
lea edx, [ebp - 0x30]
cmp eax, edx
ja 0x10036ea6
mov ecx, edx
sub ecx, eax
mov eax, dword [ebx + 4]
sar ecx, 3
mov dword [ebp - 0x10], ecx
cmp eax, dword [ebx + 8]
jne 0x10036e89
push ecx
mov ecx, ebx
call fcn.1003dce0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebx + 4]
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
test edx, edx
je 0x10036ec9
mov eax, dword [eax + ecx*8]
mov dword [edx], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + ecx*8 + 4]
mov dword [edx + 4], eax
jmp 0x10036ec9
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jne 0x10036eb9
push ecx
mov ecx, ebx
call fcn.1003dce0
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebx + 4]
test eax, eax
je 0x10036ec9
mov dword [eax], 4
mov dword [eax + 4], ecx
add dword [ebx + 4], 8
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x380], 1
jbe 0x10036ef0
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [eax + 0x40c]
call fcn.10019d60
jmp 0x10036f47
lea ebx, [eax + 0x40c]
mov dword [eax + 0x408], 0
lea eax, [ebp - 0xac]
cmp ebx, eax
je 0x10036f47
mov ecx, dword [ebx]
test ecx, ecx
je 0x10036f33
mov eax, dword [ebx + 8]
sub eax, ecx
sar eax, 2
push eax
push ecx
call fcn.1000c410
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
push dword [esi]
mov ecx, dword [ebp - 0x40]
push esi
call fcn.1002cff0
mov eax, dword [edi]
mov edi, eax
test eax, eax
jne 0x10036bf0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp + 0xc]
add ebx, 4
mov dword [ebp - 0x18], ebx
cmp ebx, dword [eax + 4]
jne 0x10036ba0
mov esi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x28]
mov edi, dword [eax]
cmp edi, eax
je 0x100375f1
mov ebx, dword [ebp + 8]
lea ecx, [ebx + 0x378]
mov dword [ebp - 0x18], ecx
nop
mov eax, dword [edi + 0x18]
add eax, 0x14
push ecx
push eax
push dword [eax]
call fcn.1000ce40
test eax, eax
setne al
test al, al
jne 0x1003759c
mov eax, dword [ebx + 0x380]
cmp eax, dword [ebx + 0x70]
jne 0x100373ee
mov ecx, dword [esi]
cmp esi, ecx
je 0x100373df
mov dl, byte [esi + 0xd]
mov eax, esi
test dl, dl
je 0x10036fd3
mov eax, dword [esi + 8]
jmp 0x10037019
cmp byte [ecx + 0xd], 0
jne 0x10036ff1
mov eax, ecx
mov edx, dword [eax + 8]
cmp byte [edx + 0xd], 0
jne 0x10037016
mov eax, edx
mov edx, dword [eax + 8]
cmp byte [edx + 0xd], 0
je 0x10036fe4
jmp 0x10037016
mov edx, dword [esi + 4]
cmp byte [edx + 0xd], 0
jne 0x1003700f
nop word [eax + eax]
cmp eax, dword [edx]
jne 0x1003700f
mov eax, edx
mov edx, dword [edx + 4]
cmp byte [edx + 0xd], 0
je 0x10037000
cmp byte [eax + 0xd], 0
cmove eax, edx
mov dl, byte [esi + 0xd]
mov eax, dword [eax + 0x10]
cmp eax, dword [edi + 0x10]
jl 0x100370de
mov eax, esi
test dl, dl
je 0x10037030
mov eax, dword [esi + 8]
jmp 0x10037070
cmp byte [ecx + 0xd], 0
jne 0x1003704e
mov eax, ecx
mov edx, dword [eax + 8]
cmp byte [edx + 0xd], 0
jne 0x1003706d
mov eax, edx
mov edx, dword [eax + 8]
cmp byte [edx + 0xd], 0
je 0x10037041
jmp 0x1003706d
mov edx, dword [esi + 4]
cmp byte [edx + 0xd], 0
jne 0x10037066
cmp eax, dword [edx]
jne 0x10037066
mov eax, edx
mov edx, dword [edx + 4]
cmp byte [edx + 0xd], 0
je 0x10037057
cmp byte [eax + 0xd], 0
cmove eax, edx
mov dl, byte [esi + 0xd]
movss xmm0, dword [eax + 0x14]
comiss xmm0, dword [0x10052eec]
jbe 0x100373df
mov eax, esi
test dl, dl
je 0x1003708d
mov eax, dword [esi + 8]
jmp 0x100370cf
cmp byte [ecx + 0xd], 0
jne 0x100370ad
mov eax, ecx
mov edx, dword [eax + 8]
cmp byte [edx + 0xd], 0
jne 0x100370cc
nop
mov eax, edx
mov edx, dword [eax + 8]
cmp byte [edx + 0xd], 0
je 0x100370a0
jmp 0x100370cc
mov edx, dword [esi + 4]
cmp byte [edx + 0xd], 0
jne 0x100370c5
cmp eax, dword [edx]
jne 0x100370c5
mov eax, edx
mov edx, dword [edx + 4]
cmp byte [edx + 0xd], 0
je 0x100370b6
cmp byte [eax + 0xd], 0
cmove eax, edx
mov dl, byte [esi + 0xd]
movss xmm0, dword [eax + 0x14]
comiss xmm0, dword [edi + 0x14]
jbe 0x100373df
mov eax, esi
test dl, dl
je 0x100370e9
mov ecx, dword [esi + 8]
jmp 0x1003712e
cmp byte [ecx + 0xd], 0
jne 0x1003710d
mov eax, dword [ecx + 8]
cmp byte [eax + 0xd], 0
jne 0x1003712e
nop dword [eax + eax]
mov ecx, eax
mov eax, dword [ecx + 8]
cmp byte [eax + 0xd], 0
je 0x10037100
jmp 0x1003712e
mov edx, dword [esi + 4]
cmp byte [edx + 0xd], 0
jne 0x10037125
cmp eax, dword [edx]
jne 0x10037125
mov eax, edx
mov edx, dword [edx + 4]
cmp byte [edx + 0xd], 0
je 0x10037116
cmp byte [eax + 0xd], 0
mov ecx, eax
cmove ecx, edx
mov eax, dword [ecx + 0x18]
add eax, 0x14
push ecx
mov ecx, dword [ebp - 0x18]
push eax
push dword [eax]
call fcn.1000ce40
mov ebx, eax
test ebx, ebx
setne al
test al, al
je 0x100372c2
mov eax, dword [ebp + 8]
mov ecx, dword [ebx + 0xc]
push ecx
mov dword [ebp - 0x38], ecx
mov eax, dword [eax + 0x7c]
push eax
push str.RemovePlayerMapIcon__d___d_
mov dword [ebp - 0x10], eax
call fcn.100034d0
mov eax, dword [0x100595a8]
add esp, 0xc
mov dword [ebp + 0xc], eax
test eax, eax
je 0x100371a5
cmp eax, fcn.100041f0
jne 0x100371af
push str.SAMGDK_NATIVE_SEARCH_ALWAYS
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
add esp, 4
test eax, eax
je 0x100371a0
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
test eax, eax
jne 0x100371a5
mov eax, dword [ebp + 0xc]
jmp 0x100371af
mov ecx, str.RemovePlayerMapIcon
call fcn.10004200
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x5c], ecx
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x58], ecx
lea ecx, [ebp - 0x60]
push ecx
push 0x100595e0
mov dword [0x100595a8], eax
mov dword [ebp - 0x60], 8
call eax
mov dl, byte [esi + 0xd]
add esp, 8
mov ecx, esi
test dl, dl
je 0x100371e3
mov eax, dword [esi + 8]
jmp 0x1003722b
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x10037201
mov ecx, dword [eax + 8]
cmp byte [ecx + 0xd], 0
jne 0x1003722b
mov eax, ecx
mov ecx, dword [eax + 8]
cmp byte [ecx + 0xd], 0
je 0x100371f4
jmp 0x1003722b
mov edx, dword [esi + 4]
cmp byte [edx + 0xd], 0
jne 0x1003721f
nop word [eax + eax]
cmp ecx, dword [edx]
jne 0x1003721f
mov ecx, edx
mov edx, dword [edx + 4]
cmp byte [edx + 0xd], 0
je 0x10037210
cmp byte [ecx + 0xd], 0
mov eax, ecx
cmove eax, edx
mov dl, byte [esi + 0xd]
mov eax, dword [eax + 0x18]
cmp byte [eax + 0x3c], 0
je 0x100372a0
mov ecx, esi
test dl, dl
je 0x1003723f
mov eax, dword [esi + 8]
jmp 0x1003727e
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x1003725d
mov ecx, dword [eax + 8]
cmp byte [ecx + 0xd], 0
jne 0x1003727e
mov eax, ecx
mov ecx, dword [eax + 8]
cmp byte [ecx + 0xd], 0
je 0x10037250
jmp 0x1003727e
mov edx, dword [esi + 4]
cmp byte [edx + 0xd], 0
jne 0x10037275
cmp ecx, dword [edx]
jne 0x10037275
mov ecx, edx
mov edx, dword [edx + 4]
cmp byte [edx + 0xd], 0
je 0x10037266
cmp byte [ecx + 0xd], 0
mov eax, ecx
cmove eax, edx
mov eax, dword [eax + 0x18]
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x54], 4
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x50], eax
lea ecx, [ecx + 0xc4]
lea eax, [ebp - 0x54]
push eax
call fcn.1003db80
mov eax, dword [ebp + 8]
push dword [eax + 0x380]
lea ecx, [eax + 0x408]
push dword [ebx + 0xc]
call fcn.10019ce0
push dword [ebx]
mov ecx, dword [ebp - 0x18]
push ebx
call fcn.1002cff0
mov bl, byte [esi + 0xd]
mov ecx, esi
test bl, bl
je 0x100372d0
mov eax, dword [esi + 8]
jmp 0x1003730f
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x100372ee
mov ecx, dword [eax + 8]
cmp byte [ecx + 0xd], 0
jne 0x1003730f
mov eax, ecx
mov ecx, dword [eax + 8]
cmp byte [ecx + 0xd], 0
je 0x100372e1
jmp 0x1003730f
mov edx, dword [esi + 4]
cmp byte [edx + 0xd], 0
jne 0x10037306
cmp ecx, dword [edx]
jne 0x10037306
mov ecx, edx
mov edx, dword [edx + 4]
cmp byte [edx + 0xd], 0
je 0x100372f7
cmp byte [ecx + 0xd], 0
mov eax, ecx
cmove eax, edx
mov eax, dword [eax + 0x18]
cmp dword [eax + 4], 0
je 0x10037382
mov ecx, esi
test bl, bl
je 0x10037323
mov eax, dword [esi + 8]
jmp 0x10037368
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x10037341
mov ecx, dword [eax + 8]
cmp byte [ecx + 0xd], 0
jne 0x10037368
mov eax, ecx
mov ecx, dword [eax + 8]
cmp byte [ecx + 0xd], 0
je 0x10037334
jmp 0x10037368
mov edx, dword [esi + 4]
cmp byte [edx + 0xd], 0
jne 0x1003735f
nop word [eax + eax]
cmp ecx, dword [edx]
jne 0x1003735f
mov ecx, edx
mov edx, dword [edx + 4]
cmp byte [edx + 0xd], 0
je 0x10037350
cmp byte [ecx + 0xd], 0
mov eax, ecx
cmove eax, edx
mov ebx, dword [ebp + 8]
mov eax, dword [eax + 0x18]
add eax, 0x14
push eax
mov ecx, dword [ebx + 0xc0]
add ecx, 0x54
call fcn.100408f0
jmp 0x10037385
mov ebx, dword [ebp + 8]
cmp byte [esi + 0xd], 0
je 0x10037390
mov eax, dword [esi + 8]
jmp 0x100373cf
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x100373ae
mov ecx, dword [eax + 8]
cmp byte [ecx + 0xd], 0
jne 0x100373cf
mov eax, ecx
mov ecx, dword [eax + 8]
cmp byte [ecx + 0xd], 0
je 0x100373a1
jmp 0x100373cf
mov ecx, dword [esi + 4]
cmp byte [ecx + 0xd], 0
jne 0x100373c6
cmp esi, dword [ecx]
jne 0x100373c6
mov esi, ecx
mov ecx, dword [ecx + 4]
cmp byte [ecx + 0xd], 0
je 0x100373b7
cmp byte [esi + 0xd], 0
mov eax, esi
cmove eax, ecx
push eax
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x20]
call fcn.1003d710
mov esi, dword [ebp - 0x20]
mov eax, dword [ebx + 0x380]
cmp eax, dword [ebx + 0x70]
je 0x100375f1
mov eax, dword [ebx + 0x40c]
cmp eax, dword [ebx + 0x410]
je 0x10037441
mov eax, dword [eax]
mov ecx, dword [ebx + 0x40c]
mov dword [ebp + 0xc], eax
mov eax, dword [ebx + 0x410]
mov edx, eax
sub edx, ecx
and edx, 0xfffffffc
cmp edx, 8
jl 0x10037438
lea edx, [eax - 4]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
mov eax, dword [ecx]
mov dword [edx], eax
lea eax, [ebp - 0x10]
push ecx
sub edx, ecx
push eax
sar edx, 2
push edx
call fcn.10019e30
add esp, 0xc
add dword [ebx + 0x410], 0xfffffffc
jmp 0x10037450
inc dword [ebx + 0x408]
mov eax, dword [ebx + 0x408]
mov dword [ebp + 0xc], eax
mov eax, dword [edi + 0x18]
lea esi, [edi + 0x18]
mov edx, dword [ebp + 0xc]
push dword [eax + 0x44]
movss xmm0, dword [eax + 0x24]
push dword [eax + 8]
movss xmm3, dword [eax + 0x20]
push dword [eax + 0x48]
movss xmm2, dword [eax + 0x1c]
push ecx
mov ecx, dword [ebx + 0x7c]
movss dword [esp], xmm0
call fcn.10005870
mov ecx, dword [esi]
add esp, 0x10
cmp byte [ecx + 0x3c], 0
je 0x1003751c
mov esi, dword [ebp - 0x34]
lea eax, [ebp - 0x30]
mov ecx, dword [ecx + 0x14]
add esi, 0xb8
mov dword [ebp - 0x30], 4
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x2c], ecx
cmp eax, dword [esi + 4]
jae 0x100374f2
mov eax, dword [esi]
lea edx, [ebp - 0x30]
cmp eax, edx
ja 0x100374f2
mov ecx, edx
sub ecx, eax
mov eax, dword [esi + 4]
sar ecx, 3
mov dword [ebp - 0x10], ecx
cmp eax, dword [esi + 8]
jne 0x100374d5
push ecx
mov ecx, esi
call fcn.1003dce0
mov ecx, dword [ebp - 0x10]
mov edx, dword [esi + 4]
mov eax, dword [esi]
mov dword [ebp - 0x10], eax
test edx, edx
je 0x10037515
mov eax, dword [eax + ecx*8]
mov dword [edx], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + ecx*8 + 4]
mov dword [edx + 4], eax
jmp 0x10037515
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
jne 0x10037505
push ecx
mov ecx, esi
call fcn.1003dce0
mov ecx, dword [ebp - 0x10]
mov eax, dword [esi + 4]
test eax, eax
je 0x10037515
mov dword [eax], 4
mov dword [eax + 4], ecx
add dword [esi + 4], 8
lea esi, [edi + 0x18]
mov eax, dword [esi]
lea ecx, [ebx + 0x378]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x48]
push eax
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.10041650
mov edx, dword [esi]
cmp dword [edx + 4], 0
je 0x10037599
push esi
add edx, 0x14
lea ecx, [ebp - 0x68]
call fcn.10015490
add esp, 4
push eax
push eax
mov byte [ebp - 4], 6
lea eax, [ebp - 0x74]
mov ecx, dword [ebx + 0xc0]
push eax
add ecx, 0x54
call fcn.10016950
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x64]
test esi, esi
je 0x10037599
add dword [esi + 0x38], 0xffffffff
jne 0x10037599
mov ecx, esi
call fcn.1000cb00
mov byte [ebp - 4], 7
push dword [esi - 4]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x20]
cmp byte [edi + 0xd], 0
jne 0x100375e2
mov eax, dword [edi + 8]
cmp byte [eax + 0xd], 0
jne 0x100375c1
mov edi, eax
mov eax, dword [edi]
cmp byte [eax + 0xd], 0
jne 0x100375e2
mov edi, eax
mov eax, dword [edi]
cmp byte [eax + 0xd], 0
je 0x100375b5
jmp 0x100375e2
mov eax, dword [edi + 4]
cmp byte [eax + 0xd], 0
jne 0x100375e0
nop word [eax + eax]
cmp edi, dword [eax + 8]
jne 0x100375e0
mov edi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x100375d0
mov edi, eax
lea ecx, [ebx + 0x378]
cmp edi, dword [ebp - 0x28]
jne 0x10036f90
push esi
push dword [esi]
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x20]
call fcn.1003e100
push dword [ebp - 0x20]
call fcn.1004a648
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
add esp, 4
push eax
push dword [eax]
lea eax, [ebp + 8]
push eax
call fcn.1003e100
push dword [ebp - 0x28]
call fcn.1004a648
mov ecx, dword [ebp - 0xc]
add esp, 4
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8