Function at 0x1003aba0
Capabilities:
Query environment variable
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004c9f3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x90
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 - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.1003f640
mov esi, eax
mov dword [ebp - 0x1c], esi
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0xc]
mov ebx, dword [eax]
mov dword [ebp - 0x20], ebx
cmp ebx, dword [eax + 4]
je 0x1003af8c
nop
mov edi, dword [ebx]
cmp dword [edi + 0xbc], 0
je 0x1003ac2f
mov eax, dword [edi + 0xb8]
mov edi, dword [edi + 0xc8]
mov edi, dword [edi + eax*4]
mov eax, dword [ebp + 0xc]
jmp 0x1003ac31
xor edi, edi
test edi, edi
je 0x1003af7a
mov eax, dword [ebp + 8]
lea ecx, [eax + 0x360]
mov dword [ebp - 0x44], ecx
lea ecx, [eax + 0xcc]
mov dword [ebp - 0x4c], ecx
lea ecx, [eax + 0x6c]
mov dword [ebp - 0x38], ecx
lea ecx, [eax + 0x7c]
mov dword [ebp - 0x40], ecx
nop word [eax + 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 + 0x14]
push eax
push dword [ebp - 0x44]
lea eax, [ecx + 0x68]
push eax
push dword [ebp - 0x4c]
lea eax, [edx + 0x128]
push eax
push dword [ebp - 0x38]
lea eax, [esi + 0x8c]
push eax
push dword [ebp - 0x40]
mov eax, dword [ebx]
add eax, 0xa8
push eax
call fcn.10040480
test al, al
je 0x1003acea
mov eax, dword [ebx]
xorps xmm0, xmm0
comiss xmm0, dword [eax + 0xc]
jbe 0x1003acc2
movss xmm1, dword [0x10052f88]
jmp 0x1003ace5
mov ecx, dword [ebp + 8]
sub ecx, 0xffffff80
cmp dword [eax + 0x64], 0
je 0x1003acd6
mov edx, dword [eax + 0x64]
add edx, 4
jmp 0x1003acd9
lea edx, [eax + 0x1c]
call fcn.10026e70
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movss dword [ebp - 0x14], xmm1
push ecx
mov ecx, dword [ebp + 8]
lea eax, [edi + 8]
push eax
push dword [eax]
lea ecx, [ecx + 0x3a8]
call fcn.1000ce40
mov ecx, dword [ebp + 8]
mov esi, eax
mov eax, dword [ebx]
movss xmm0, dword [eax + 0xc]
mulss xmm0, dword [ecx + 0xa0]
comiss xmm0, xmm1
jbe 0x1003ae2e
test esi, esi
sete al
test al, al
mov eax, dword [ebx]
je 0x1003ad8f
mov eax, dword [eax + 0x34]
lea edx, [ebp - 0x68]
push ebx
lea ecx, [ebp - 0x84]
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 - 0x98]
push eax
lea ecx, [ebp - 0x28]
call fcn.10042220
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x7c]
test esi, esi
je 0x1003af68
add dword [esi + 0x38], 0xffffffff
jne 0x1003af68
mov ecx, esi
call fcn.1000c800
mov byte [ebp - 4], 3
jmp 0x1003ae19
cmp dword [eax + 4], 0
je 0x1003adb4
mov ecx, dword [ecx + 0xc0]
lea eax, [edi + 8]
push eax
push eax
lea eax, [ebp - 0x70]
add ecx, 0xb4
push eax
call fcn.10040a20
movss xmm1, dword [ebp - 0x14]
mov eax, dword [ebx]
lea edx, [ebp - 0x54]
push ebx
lea ecx, [ebp - 0x90]
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 - 0x1c]
mov byte [ebp - 4], 4
call fcn.10041e40
push eax
add eax, 0x10
push eax
push ecx
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x1c]
call fcn.10042220
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x88]
test esi, esi
je 0x1003af68
add dword [esi + 0x38], 0xffffffff
jne 0x1003af68
mov ecx, esi
call fcn.1000c800
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 0x1003af68
test esi, esi
setne al
test al, al
je 0x1003af68
mov ecx, dword [ebp - 0x40]
mov eax, dword [esi + 0xc]
push eax
mov dword [ebp - 0x10], eax
mov ecx, dword [ecx]
push ecx
push str.DeletePlayer3DTextLabel__d___d_
mov dword [ebp - 0x3c], ecx
call fcn.100034d0
mov eax, dword [0x100595b4]
add esp, 0xc
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1003ae90
cmp eax, fcn.100041f0
jne 0x1003ae9a
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 0x1003ae8b
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
test eax, eax
jne 0x1003ae90
mov eax, dword [ebp - 0x14]
jmp 0x1003ae9a
mov ecx, str.DeletePlayer3DTextLabel
call fcn.10004200
mov ecx, dword [ebp - 0x3c]
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 [0x100595b4], eax
mov dword [ebp - 0x60], 8
call eax
mov eax, dword [ebx]
add esp, 8
cmp byte [eax + 0x3c], 0
je 0x1003af57
mov ebx, dword [ebp - 0x34]
lea eax, [ebp - 0x30]
mov ecx, dword [edi + 8]
add ebx, 0xc4
mov dword [ebp - 0x30], 5
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x2c], ecx
cmp eax, dword [ebx + 4]
jae 0x1003af30
mov eax, dword [ebx]
lea edx, [ebp - 0x30]
cmp eax, edx
ja 0x1003af30
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 0x1003af13
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 0x1003af53
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 0x1003af53
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jne 0x1003af43
push ecx
mov ecx, ebx
call fcn.1003dce0
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebx + 4]
test eax, eax
je 0x1003af53
mov dword [eax], 5
mov dword [eax + 4], ecx
add dword [ebx + 4], 8
mov ecx, dword [ebp + 8]
push dword [esi]
push esi
lea ecx, [ecx + 0x3a8]
call fcn.1002cff0
mov eax, dword [edi]
mov edi, eax
test eax, eax
jne 0x1003ac60
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebp + 0xc]
add ebx, 4
mov dword [ebp - 0x20], ebx
cmp ebx, dword [eax + 4]
jne 0x1003ac10
mov esi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x28]
mov edi, dword [eax]
cmp edi, eax
je 0x1003b5ee
mov ebx, dword [ebp + 8]
lea ecx, [ebx + 0x3a8]
mov dword [ebp - 0x20], ecx
mov eax, dword [edi + 0x18]
add eax, 0x60
push ecx
push eax
push dword [eax]
call fcn.1000ce40
test eax, eax
setne al
test al, al
jne 0x1003b58e
mov eax, dword [ebx + 0x3b0]
cmp eax, dword [ebx + 0x50]
jne 0x1003b3ed
mov ecx, dword [esi]
cmp esi, ecx
je 0x1003b3ed
mov bl, byte [esi + 0xd]
mov eax, esi
test bl, bl
je 0x1003afe8
mov eax, dword [esi + 8]
jmp 0x1003b02c
cmp byte [ecx + 0xd], 0
jne 0x1003b00d
mov eax, ecx
mov edx, dword [eax + 8]
cmp byte [edx + 0xd], 0
jne 0x1003b02c
nop dword [eax]
mov eax, edx
mov edx, dword [eax + 8]
cmp byte [edx + 0xd], 0
je 0x1003b000
jmp 0x1003b02c
mov edx, dword [esi + 4]
cmp byte [edx + 0xd], 0
jne 0x1003b025
cmp eax, dword [edx]
jne 0x1003b025
mov eax, edx
mov edx, dword [edx + 4]
cmp byte [edx + 0xd], 0
je 0x1003b016
cmp byte [eax + 0xd], 0
cmove eax, edx
mov eax, dword [eax + 0x10]
cmp eax, dword [edi + 0x10]
jl 0x1003b0f5
mov eax, esi
test bl, bl
je 0x1003b043
mov eax, dword [esi + 8]
jmp 0x1003b086
cmp byte [ecx + 0xd], 0
jne 0x1003b061
mov eax, ecx
mov edx, dword [eax + 8]
cmp byte [edx + 0xd], 0
jne 0x1003b086
mov eax, edx
mov edx, dword [eax + 8]
cmp byte [edx + 0xd], 0
je 0x1003b054
jmp 0x1003b086
mov edx, dword [esi + 4]
cmp byte [edx + 0xd], 0
jne 0x1003b07f
nop word [eax + eax]
cmp eax, dword [edx]
jne 0x1003b07f
mov eax, edx
mov edx, dword [edx + 4]
cmp byte [edx + 0xd], 0
je 0x1003b070
cmp byte [eax + 0xd], 0
cmove eax, edx
movss xmm0, dword [eax + 0x14]
comiss xmm0, dword [0x10052eec]
jbe 0x1003b3ea
mov eax, esi
test bl, bl
je 0x1003b0a3
mov eax, dword [esi + 8]
jmp 0x1003b0e6
cmp byte [ecx + 0xd], 0
jne 0x1003b0c1
mov eax, ecx
mov edx, dword [eax + 8]
cmp byte [edx + 0xd], 0
jne 0x1003b0e6
mov eax, edx
mov edx, dword [eax + 8]
cmp byte [edx + 0xd], 0
je 0x1003b0b4
jmp 0x1003b0e6
mov edx, dword [esi + 4]
cmp byte [edx + 0xd], 0
jne 0x1003b0df
nop word [eax + eax]
cmp eax, dword [edx]
jne 0x1003b0df
mov eax, edx
mov edx, dword [edx + 4]
cmp byte [edx + 0xd], 0
je 0x1003b0d0
cmp byte [eax + 0xd], 0
cmove eax, edx
movss xmm0, dword [eax + 0x14]
comiss xmm0, dword [edi + 0x14]
jbe 0x1003b3ea
mov eax, esi
test bl, bl
je 0x1003b100
mov ecx, dword [esi + 8]
jmp 0x1003b13e
cmp byte [ecx + 0xd], 0
jne 0x1003b11d
mov eax, dword [ecx + 8]
cmp byte [eax + 0xd], 0
jne 0x1003b13e
nop
mov ecx, eax
mov eax, dword [ecx + 8]
cmp byte [eax + 0xd], 0
je 0x1003b110
jmp 0x1003b13e
mov edx, dword [esi + 4]
cmp byte [edx + 0xd], 0
jne 0x1003b135
cmp eax, dword [edx]
jne 0x1003b135
mov eax, edx
mov edx, dword [edx + 4]
cmp byte [edx + 0xd], 0
je 0x1003b126
cmp byte [eax + 0xd], 0
mov ecx, eax
cmove ecx, edx
mov eax, dword [ecx + 0x18]
add eax, 0x60
push ecx
mov ecx, dword [ebp - 0x20]
push eax
push dword [eax]
call fcn.1000ce40
mov ebx, eax
test ebx, ebx
setne al
test al, al
je 0x1003b2bb
mov ecx, dword [ebp + 8]
mov eax, dword [ebx + 0xc]
push eax
mov dword [ebp - 0x3c], eax
mov ecx, dword [ecx + 0x7c]
push ecx
push str.DeletePlayer3DTextLabel__d___d_
mov dword [ebp - 0x10], ecx
call fcn.100034d0
mov eax, dword [0x100595b4]
add esp, 0xc
mov dword [ebp + 0xc], eax
test eax, eax
je 0x1003b1b5
cmp eax, fcn.100041f0
jne 0x1003b1bf
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 0x1003b1b0
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
test eax, eax
jne 0x1003b1b5
mov eax, dword [ebp + 0xc]
jmp 0x1003b1bf
mov ecx, str.DeletePlayer3DTextLabel
call fcn.10004200
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x5c], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x58], ecx
lea ecx, [ebp - 0x60]
push ecx
push 0x100595e0
mov dword [0x100595b4], eax
mov dword [ebp - 0x60], 8
call eax
mov dl, byte [esi + 0xd]
add esp, 8
mov ecx, esi
test dl, dl
je 0x1003b1f3
mov eax, dword [esi + 8]
jmp 0x1003b23b
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x1003b211
mov ecx, dword [eax + 8]
cmp byte [ecx + 0xd], 0
jne 0x1003b23b
mov eax, ecx
mov ecx, dword [eax + 8]
cmp byte [ecx + 0xd], 0
je 0x1003b204
jmp 0x1003b23b
mov edx, dword [esi + 4]
cmp byte [edx + 0xd], 0
jne 0x1003b22f
nop word [eax + eax]
cmp ecx, dword [edx]
jne 0x1003b22f
mov ecx, edx
mov edx, dword [edx + 4]
cmp byte [edx + 0xd], 0
je 0x1003b220
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 0x1003b2b0
mov ecx, esi
test dl, dl
je 0x1003b24f
mov eax, dword [esi + 8]
jmp 0x1003b28e
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x1003b26d
mov ecx, dword [eax + 8]
cmp byte [ecx + 0xd], 0
jne 0x1003b28e
mov eax, ecx
mov ecx, dword [eax + 8]
cmp byte [ecx + 0xd], 0
je 0x1003b260
jmp 0x1003b28e
mov edx, dword [esi + 4]
cmp byte [edx + 0xd], 0
jne 0x1003b285
cmp ecx, dword [edx]
jne 0x1003b285
mov ecx, edx
mov edx, dword [edx + 4]
cmp byte [edx + 0xd], 0
je 0x1003b276
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], 5
mov eax, dword [eax + 0x60]
mov dword [ebp - 0x50], eax
lea ecx, [ecx + 0xc4]
lea eax, [ebp - 0x54]
push eax
call fcn.1003db80
push dword [ebx]
mov ecx, dword [ebp - 0x20]
push ebx
call fcn.1002cff0
mov bl, byte [esi + 0xd]
mov ecx, esi
test bl, bl
je 0x1003b2c9
mov eax, dword [esi + 8]
jmp 0x1003b30e
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x1003b2ed
mov ecx, dword [eax + 8]
cmp byte [ecx + 0xd], 0
jne 0x1003b30e
nop word [eax + eax]
mov eax, ecx
mov ecx, dword [eax + 8]
cmp byte [ecx + 0xd], 0
je 0x1003b2e0
jmp 0x1003b30e
mov edx, dword [esi + 4]
cmp byte [edx + 0xd], 0
jne 0x1003b305
cmp ecx, dword [edx]
jne 0x1003b305
mov ecx, edx
mov edx, dword [edx + 4]
cmp byte [edx + 0xd], 0
je 0x1003b2f6
cmp byte [ecx + 0xd], 0
mov eax, ecx
cmove eax, edx
mov eax, dword [eax + 0x18]
cmp dword [eax + 4], 0
je 0x1003b385
mov ecx, esi
test bl, bl
je 0x1003b322
mov eax, dword [esi + 8]
jmp 0x1003b368
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x1003b340
mov ecx, dword [eax + 8]
cmp byte [ecx + 0xd], 0
jne 0x1003b368
mov eax, ecx
mov ecx, dword [eax + 8]
cmp byte [ecx + 0xd], 0
je 0x1003b333
jmp 0x1003b368
mov edx, dword [esi + 4]
cmp byte [edx + 0xd], 0
jne 0x1003b35f
nop dword [eax]
cmp ecx, dword [edx]
jne 0x1003b35f
mov ecx, edx
mov edx, dword [edx + 4]
cmp byte [edx + 0xd], 0
je 0x1003b350
cmp byte [ecx + 0xd], 0
mov eax, ecx
cmove eax, edx
mov ebx, dword [ebp + 8]
mov eax, dword [eax + 0x18]
add eax, 0x60
push eax
mov ecx, dword [ebx + 0xc0]
add ecx, 0xb4
call fcn.10040750
jmp 0x1003b388
mov ebx, dword [ebp + 8]
cmp byte [esi + 0xd], 0
je 0x1003b393
mov eax, dword [esi + 8]
jmp 0x1003b3d8
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x1003b3b1
mov ecx, dword [eax + 8]
cmp byte [ecx + 0xd], 0
jne 0x1003b3d8
mov eax, ecx
mov ecx, dword [eax + 8]
cmp byte [ecx + 0xd], 0
je 0x1003b3a4
jmp 0x1003b3d8
mov ecx, dword [esi + 4]
cmp byte [ecx + 0xd], 0
jne 0x1003b3cf
nop word [eax + eax]
cmp esi, dword [ecx]
jne 0x1003b3cf
mov esi, ecx
mov ecx, dword [ecx + 4]
cmp byte [ecx + 0xd], 0
je 0x1003b3c0
cmp byte [esi + 0xd], 0
mov eax, esi
cmove eax, ecx
push eax
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x1c]
call fcn.1003ce30
mov esi, dword [ebp - 0x1c]
jmp 0x1003b3ed
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x3b0]
cmp eax, dword [ebx + 0x78]
je 0x1003b5eb
mov ecx, dword [edi + 0x18]
cmp dword [ecx + 0x64], 0
je 0x1003b40d
mov eax, dword [ecx + 0x64]
mov ebx, dword [eax + 0x14]
jmp 0x1003b412
mov ebx, 0xffff
cmp dword [ecx + 0x64], 0
je 0x1003b41f
mov eax, dword [ecx + 0x64]
mov esi, dword [eax]
jmp 0x1003b424
mov esi, 0xffff
cmp dword [ecx + 0x5c], 0x10
lea edx, [ecx + 0x48]
jb 0x1003b42f
mov edx, dword [edx]
mov al, byte [ecx + 0x44]
movss xmm0, dword [ecx + 0x10]
movss xmm1, dword [ecx + 0x24]
movss xmm2, dword [ecx + 0x20]
movss xmm3, dword [ecx + 0x1c]
mov byte [ebp - 0x38], al
push dword [ebp - 0x38]
push ebx
mov ebx, dword [ebp + 8]
push esi
sub esp, 0xc
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm1
movss dword [esp], xmm2
push dword [ecx + 8]
mov ecx, dword [ebx + 0x7c]
call fcn.10007d10
add esp, 0x1c
mov dword [ebp + 0xc], eax
cmp eax, 0xffff
je 0x1003b5e2
mov ecx, dword [edi + 0x18]
cmp byte [ecx + 0x3c], 0
je 0x1003b506
mov esi, dword [ebp - 0x34]
lea eax, [ebp - 0x30]
mov ebx, dword [ecx + 0x60]
add esi, 0xb8
mov dword [ebp - 0x30], 5
mov dword [ebp - 0x2c], ebx
cmp eax, dword [esi + 4]
jae 0x1003b4df
mov eax, dword [esi]
lea ecx, [ebp - 0x30]
cmp eax, ecx
ja 0x1003b4df
mov ebx, ecx
sub ebx, eax
mov eax, dword [esi + 4]
sar ebx, 3
cmp eax, dword [esi + 8]
jne 0x1003b4c8
push ecx
mov ecx, esi
call fcn.1003dce0
mov ecx, dword [esi + 4]
mov edx, dword [esi]
test ecx, ecx
je 0x1003b4ff
mov eax, dword [edx + ebx*8]
mov dword [ecx], eax
mov eax, dword [edx + ebx*8 + 4]
mov dword [ecx + 4], eax
jmp 0x1003b4ff
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
jne 0x1003b4ef
push ecx
mov ecx, esi
call fcn.1003dce0
mov eax, dword [esi + 4]
test eax, eax
je 0x1003b4ff
mov dword [eax], 5
mov dword [eax + 4], ebx
mov ebx, dword [ebp + 8]
add dword [esi + 4], 8
mov eax, dword [edi + 0x18]
lea ecx, [ebx + 0x3a8]
mov eax, dword [eax + 0x60]
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 - 0x78]
push eax
call fcn.10041650
mov edx, dword [edi + 0x18]
lea eax, [edi + 0x18]
cmp dword [edx + 4], 0
je 0x1003b58b
push eax
add edx, 0x60
lea ecx, [ebp - 0x68]
call fcn.10015490
add esp, 4
push eax
push eax
mov byte [ebp - 4], 6
lea eax, [ebp - 0x70]
mov ecx, dword [ebx + 0xc0]
push eax
add ecx, 0xb4
call fcn.10016bf0
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x64]
test esi, esi
je 0x1003b58b
add dword [esi + 0x38], 0xffffffff
jne 0x1003b58b
mov ecx, esi
call fcn.1000c800
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 - 0x1c]
cmp byte [edi + 0xd], 0
jne 0x1003b5d2
mov eax, dword [edi + 8]
cmp byte [eax + 0xd], 0
jne 0x1003b5b3
mov edi, eax
mov eax, dword [edi]
cmp byte [eax + 0xd], 0
jne 0x1003b5d2
mov edi, eax
mov eax, dword [edi]
cmp byte [eax + 0xd], 0
je 0x1003b5a7
jmp 0x1003b5d2
mov eax, dword [edi + 4]
cmp byte [eax + 0xd], 0
jne 0x1003b5d0
nop dword [eax]
cmp edi, dword [eax + 8]
jne 0x1003b5d0
mov edi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x1003b5c0
mov edi, eax
cmp edi, dword [ebp - 0x28]
je 0x1003b5ee
lea ecx, [ebx + 0x3a8]
jmp 0x1003afa5
mov eax, dword [ebx + 0x3b0]
mov esi, dword [ebp - 0x1c]
mov dword [ebx + 0x50], eax
push esi
push dword [esi]
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x1c]
call fcn.1003dd40
push dword [ebp - 0x1c]
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.1003dd40
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