Function at 0x403976
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1990
call fcn.0042f1b0
push ebx
push esi
push edi
push str.CCoordi::AddJTP_begin_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp + 0xc]
xor ebx, ebx
push 0x3f
lea edi, [ebp - 0x198a]
mov dword [eax], ebx
mov eax, dword [ebp + 0x3c]
pop ecx
mov dword [ebp - 0x1990], ebx
mov dword [eax], 1
mov dx, word [0x452c10]
xor eax, eax
mov word [ebp - 0x198c], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov al, byte [ebp + 0x14]
push 0x1f
mov byte [ebp - 0x188c], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x1888]
mov word [ebp - 0x188a], dx
push 0x3f
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
pop ecx
xor eax, eax
lea edi, [ebp - 0x1808]
mov word [ebp - 0x180a], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x7f
xor eax, eax
pop ecx
lea edi, [ebp - 0x1708]
mov word [ebp - 0x170a], dx
push 0x7f
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
pop ecx
xor eax, eax
lea edi, [ebp - 0x1508]
mov word [ebp - 0x150a], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov al, byte [ebp + 0x28]
mov esi, 0x1ff
mov byte [ebp - 0x130a], al
mov ecx, esi
xor eax, eax
lea edi, [ebp - 0x1306]
mov word [ebp - 0x1308], dx
push 0x3f
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
pop ecx
xor eax, eax
lea edi, [ebp - 0xb06]
mov word [ebp - 0xb08], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x7f
xor eax, eax
pop ecx
lea edi, [ebp - 0xa06]
mov word [ebp - 0xa08], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, esi
xor eax, eax
lea edi, [ebp - 0x806]
mov word [ebp - 0x808], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebp + 8]
add eax, 0x54
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov edi, 0x100
mov dword [ebp - 8], eax
push edi
lea eax, [ebp - 0x198c]
push ebx
push eax
mov dword [ebp - 4], ebx
call fcn.0042f0a0
add esp, 0xc
cmp dword [ebp + 0x10], ebx
jne 0x403ad0
push str.addjtp_error_4
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp + 0x3c]
mov dword [eax], 4
jmp 0x403d6e
push dword [ebp + 0x10]
mov esi, dword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
call esi
cmp eax, 4
jbe 0x403aea
mov eax, dword [ebp + 0x10]
mov word [eax + 0xfa], bx
push dword [ebp + 0x10]
lea eax, [ebp - 0x198c]
push eax
call fcn.0042f070
push 0x80
lea eax, [ebp - 0x188a]
push ebx
push eax
call fcn.0042f0a0
add esp, 0x14
cmp dword [ebp + 0x18], ebx
jne 0x403b1e
mov word [ebp - 0x188a], 0x20
jmp 0x403b42
push dword [ebp + 0x18]
call esi
cmp eax, 0x80
jbe 0x403b31
mov eax, dword [ebp + 0x18]
mov word [eax + 0x7a], bx
push dword [ebp + 0x18]
lea eax, [ebp - 0x188a]
push eax
call fcn.0042f070
pop ecx
pop ecx
push edi
lea eax, [ebp - 0x180a]
push ebx
push eax
call fcn.0042f0a0
add esp, 0xc
cmp dword [ebp + 0x1c], ebx
jne 0x403b63
mov word [ebp - 0x180a], 0x20
jmp 0x403b87
push dword [ebp + 0x1c]
call esi
cmp eax, edi
jbe 0x403b76
mov eax, dword [ebp + 0x1c]
mov word [eax + 0xfa], bx
push dword [ebp + 0x1c]
lea eax, [ebp - 0x180a]
push eax
call fcn.0042f070
pop ecx
pop ecx
mov edi, 0x200
lea eax, [ebp - 0x170a]
push edi
push ebx
push eax
call fcn.0042f0a0
add esp, 0xc
cmp dword [ebp + 0x20], ebx
jne 0x403bad
mov word [ebp - 0x170a], 0x20
jmp 0x403bd1
push dword [ebp + 0x20]
call esi
cmp eax, edi
jbe 0x403bc0
mov eax, dword [ebp + 0x20]
mov word [eax + 0x1fa], bx
push dword [ebp + 0x20]
lea eax, [ebp - 0x170a]
push eax
call fcn.0042f070
pop ecx
pop ecx
push edi
lea eax, [ebp - 0x150a]
push ebx
push eax
call fcn.0042f0a0
add esp, 0xc
cmp dword [ebp + 0x24], ebx
jne 0x403bf2
mov word [ebp - 0x150a], 0x20
jmp 0x403c16
push dword [ebp + 0x24]
call esi
cmp eax, edi
jbe 0x403c05
mov eax, dword [ebp + 0x24]
mov word [eax + 0x1fa], bx
push dword [ebp + 0x24]
lea eax, [ebp - 0x150a]
push eax
call fcn.0042f070
pop ecx
pop ecx
push 0x800
lea eax, [ebp - 0x1308]
push ebx
push eax
call fcn.0042f0a0
add esp, 0xc
cmp dword [ebp + 0x2c], ebx
jne 0x403c3b
mov word [ebp - 0x1308], 0x20
jmp 0x403c62
push dword [ebp + 0x2c]
call esi
cmp eax, 0x800
jbe 0x403c51
mov eax, dword [ebp + 0x2c]
mov word [eax + 0x7fa], bx
push dword [ebp + 0x2c]
lea eax, [ebp - 0x1308]
push eax
call fcn.0042f070
pop ecx
pop ecx
push 0x100
lea eax, [ebp - 0xb08]
push ebx
push eax
call fcn.0042f0a0
add esp, 0xc
cmp dword [ebp + 0x30], ebx
jne 0x403c87
mov word [ebp - 0xb08], 0x20
jmp 0x403cae
push dword [ebp + 0x30]
call esi
cmp eax, 0x100
jbe 0x403c9d
mov eax, dword [ebp + 0x30]
mov word [eax + 0xfa], bx
push dword [ebp + 0x30]
lea eax, [ebp - 0xb08]
push eax
call fcn.0042f070
pop ecx
pop ecx
push edi
lea eax, [ebp - 0xa08]
push ebx
push eax
call fcn.0042f0a0
add esp, 0xc
cmp dword [ebp + 0x34], ebx
jne 0x403ccf
mov word [ebp - 0xa08], 0x20
jmp 0x403cf3
push dword [ebp + 0x34]
call esi
cmp eax, edi
jbe 0x403ce2
mov eax, dword [ebp + 0x34]
mov word [eax + 0x1fa], bx
push dword [ebp + 0x34]
lea eax, [ebp - 0xa08]
push eax
call fcn.0042f070
pop ecx
pop ecx
mov edi, 0x800
lea eax, [ebp - 0x808]
push edi
push ebx
push eax
call fcn.0042f0a0
add esp, 0xc
cmp dword [ebp + 0x38], ebx
jne 0x403d19
mov word [ebp - 0x808], 0x20
jmp 0x403d3d
push dword [ebp + 0x38]
call esi
cmp eax, edi
jbe 0x403d2c
mov eax, dword [ebp + 0x38]
mov word [eax + 0x7fa], bx
push dword [ebp + 0x38]
lea eax, [ebp - 0x808]
push eax
call fcn.0042f070
pop ecx
pop ecx
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x1990]
push edx
mov eax, dword [eax + 0x60]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x1990]
push str.CCoordi::AddJTP_end_n
mov dword [ecx], eax
mov ecx, dword [ebp + 0x3c]
mov eax, dword [ebp - 4]
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x38