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

Disassembly:
sub esp, 0xe8
push ebx
push ebp
push esi
push edi
xor edi, edi
mov dword [0x6a270c], edi
call sym.convertifd.exe_StartNewPickList
mov eax, dword [0x6a270c]
mov dword [esp + 0x18], eax
xor eax, eax
cmp dword [0x6078e4], edi
mov dword [esp + 0x1c], eax
jg 0x4d0d57
call sym.convertifd.exe_SomethingPicked
test eax, eax
jne 0x4d1309
push 0xffffdca3
call sym.convertifd.exe_IpMessage
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xe8
ret
xor edi, edi
mov ecx, dword [0x6078e8]
mov ebx, dword [ecx + eax*4]
cmp ebx, edi
mov dword [esp + 0x48], ebx
jle case.0x4d0da3.6
mov eax, dword [0x6078ec]
mov edx, dword [0x6a2d18]
mov esi, dword [edx + ebx*8 + 4]
push eax
call sym.convertifd.exe_UtFTable
lea eax, [esi - 1]
add esp, 4
cmp eax, 0xb
mov dword [0x6078ec], edi
mov dword [0x6078f0], edi
ja case.0x4d0da3.6
movzx ecx, byte [eax + 0x4d1334]
jmp dword [ecx*4 + 0x4d1324]
push ebx
push 0x6a2d18
call sym.convertifd.exe_PointToEntity
mov ebp, eax
mov edx, dword [ebp + 0x1c]
xor eax, eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x74], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x3c], eax
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x28], edx
mov edx, dword [ebp + 0x20]
mov dword [esp + 0x48], edx
mov dword [esp + 0x54], 0x5a
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x68], eax
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x6c], ecx
mov edx, dword [ebp + 0x20]
xor eax, eax
mov dword [esp + 0x70], edx
mov ecx, 0x10
mov esi, ebp
lea edi, [esp + 0x78]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x104]
mov edi, dword [esp + 0x108]
add esp, 8
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x8c], eax
cmp dword [ebp + 4], esi
jl 0x4d0e7d
cmp dword [ebp + 0xc], edi
jle case.0x4d0da3.3
push 1
push 0x6a2d18
push ebx
call sym.convertifd.exe_EraseEntity
add esp, 0xc
cmp dword [ebp + 4], esi
mov dword [esp + 0x14], esi
jl 0x4d0e9a
mov dword [esp + 0x14], edi
xor eax, eax
cmp dword [esp + 0x14], edi
sete al
mov edi, eax
mov eax, dword [esp + 0x20]
test eax, eax
mov dword [esp + 0x10], edi
je 0x4d0eb7
mov ecx, eax
neg ecx
jmp 0x4d0ed0
mov esi, dword [esp + 0x34]
add esi, 1
mov eax, esi
cdq
sub eax, edx
mov ecx, eax
mov eax, esi
cdq
sub eax, edx
sar eax, 1
sar ecx, 1
neg eax
mov esi, dword [ebp + 8]
mov ebx, dword [ebp]
mov edx, dword [ebp + 4]
add esi, ecx
push esi
push edi
add ebx, eax
push 1
mov edi, edx
lea eax, [esp + 0x30]
call fcn.004d0a00
add esp, 0xc
test eax, eax
je 0x4d12fc
mov ebx, dword [ebp]
mov ecx, dword [esp + 0x10]
mov edi, dword [ebp + 4]
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
push ebx
push ecx
add edi, esi
push 1
lea eax, [esp + 0x30]
call fcn.004d0a00
add esp, 0xc
test eax, eax
je 0x4d12fc
mov ebx, dword [ebp + 8]
mov edx, dword [esp + 0x10]
mov edi, dword [ebp + 4]
push ebx
push edx
mov edx, dword [esp + 0x1c]
add edi, esi
push 1
lea eax, [esp + 0x30]
call fcn.004d0a00
add esp, 0xc
test eax, eax
je 0x4d12fc
test esi, esi
jle 0x4d0f9e
mov ebx, dword [ebp]
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp + 4]
lea eax, [ebx + esi]
push eax
push ecx
lea edi, [edx + esi]
push 8
lea eax, [esp + 0x58]
call fcn.004d0a00
add esp, 0xc
test eax, eax
je 0x4d12fc
mov ebx, dword [ebp + 8]
mov eax, dword [esp + 0x10]
mov edi, dword [ebp + 4]
push ebx
push eax
lea edx, [edi + esi]
sub ebx, esi
push 8
lea eax, [esp + 0x58]
call fcn.004d0a00
add esp, 0xc
test eax, eax
je 0x4d12fc
cmp dword [ebp + 0x18], 0
je 0x4d0fdf
mov eax, dword [esp + 0x34]
mov ecx, dword [ebp + 8]
mov edi, dword [ebp + 4]
mov ebx, dword [ebp]
add eax, 1
cdq
sub eax, edx
mov edx, dword [esp + 0x10]
sar eax, 1
sub ecx, eax
push ecx
push edx
mov edx, dword [esp + 0x1c]
add edi, eax
add ebx, eax
push 2
lea eax, [esp + 0x7c]
call fcn.004d0a00
add esp, 0xc
test eax, eax
je 0x4d12fc
mov dword [0x6a270c], 0
call fcn.004d0ac0
test eax, eax
je 0x4d12fc
mov eax, dword [esp + 0x18]
mov dword [0x6a270c], eax
mov eax, dword [esp + 0x100]
cmp dword [ebp + 0xc], eax
jle 0x4d1011
mov dword [esp + 0x14], eax
jmp 0x4d101c
mov ecx, dword [esp + 0xfc]
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0xfc]
xor edx, edx
cmp dword [esp + 0x14], eax
sete dl
test esi, esi
mov edi, edx
mov dword [esp + 0x10], edi
je 0x4d103e
mov ecx, esi
neg ecx
mov eax, esi
jmp 0x4d1057
mov ebx, dword [esp + 0x34]
add ebx, 1
mov eax, ebx
cdq
sub eax, edx
mov ecx, eax
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
sar ecx, 1
neg eax
mov ebx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
add ebx, ecx
push ebx
mov ebx, dword [ebp]
push edi
add ebx, eax
push 1
mov edi, edx
lea eax, [esp + 0x30]
call fcn.004d0a00
add esp, 0xc
test eax, eax
je 0x4d12fc
mov ebx, dword [ebp]
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp + 0xc]
mov edi, dword [esp + 0x14]
push ebx
push ecx
sub edx, esi
push 1
lea eax, [esp + 0x30]
call fcn.004d0a00
add esp, 0xc
test eax, eax
je 0x4d12fc
mov ebx, dword [ebp + 8]
mov eax, dword [esp + 0x10]
mov edx, dword [ebp + 0xc]
push ebx
push eax
sub edx, esi
push 1
lea eax, [esp + 0x30]
call fcn.004d0a00
add esp, 0xc
test eax, eax
je 0x4d12fc
test esi, esi
jle 0x4d1121
mov eax, dword [ebp]
mov edi, dword [ebp + 0xc]
mov ecx, dword [esp + 0x10]
push eax
push ecx
mov edx, edi
lea ebx, [eax + esi]
sub edx, esi
push 8
lea eax, [esp + 0x58]
call fcn.004d0a00
add esp, 0xc
test eax, eax
je 0x4d12fc
mov ebx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov ecx, dword [esp + 0x10]
mov eax, ebx
sub eax, esi
push eax
mov edi, edx
push ecx
sub edi, esi
push 8
lea eax, [esp + 0x58]
call fcn.004d0a00
add esp, 0xc
test eax, eax
je 0x4d12fc
cmp dword [ebp + 0x18], 0
je 0x4d1162
mov eax, dword [esp + 0x34]
mov ecx, dword [ebp + 8]
mov ebx, dword [ebp]
mov edi, dword [esp + 0x14]
add eax, 1
cdq
sub eax, edx
mov edx, dword [ebp + 0xc]
sar eax, 1
sub ecx, eax
sub edx, eax
add ebx, eax
mov eax, dword [esp + 0x10]
push ecx
push eax
push 2
lea eax, [esp + 0x7c]
call fcn.004d0a00
add esp, 0xc
test eax, eax
je 0x4d12fc
mov dword [0x6a270c], 0
call fcn.004d0ac0
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0xfc]
mov dword [0x6a270c], ecx
cmp dword [ebp + 4], edi
jge 0x4d1206
mov esi, dword [esp + 0x100]
cmp dword [ebp + 0xc], esi
jle 0x4d1206
mov ebx, dword [ebp]
push ebx
push 1
push 1
mov edx, esi
lea eax, [esp + 0x30]
call fcn.004d0a00
add esp, 0xc
test eax, eax
je 0x4d12fc
mov ebx, dword [ebp + 8]
push ebx
push 1
push 1
mov edx, esi
lea eax, [esp + 0x30]
call fcn.004d0a00
add esp, 0xc
test eax, eax
je 0x4d12fc
cmp dword [ebp + 0x18], 0
je 0x4d1206
mov eax, dword [esp + 0x34]
mov ebx, dword [ebp]
add eax, 1
cdq
sub eax, edx
mov edx, dword [ebp + 8]
sar eax, 1
sub edx, eax
push edx
add ebx, eax
push 1
push 2
mov edx, esi
lea eax, [esp + 0x7c]
call fcn.004d0a00
add esp, 0xc
test eax, eax
je 0x4d12fc
mov eax, dword [esp + 0x48]
push 0x6a2d18
push eax
call sym.convertifd.exe_DeleteEntity
add esp, 8
jmp case.0x4d0da3.6
push ebx
push 0x6a2d18
call sym.convertifd.exe_PointToEntity
mov ebp, eax
mov ecx, dword [ebp]
add esp, 8
cmp ecx, dword [ebp + 8]
jne case.0x4d0da3.3
mov eax, dword [esp + 0xfc]
cmp dword [ebp + 4], eax
jge 0x4d1283
push 0x6a2d18
lea edx, [esp + 0xb4]
mov ecx, 9
mov esi, ebp
lea edi, [esp + 0xb4]
rep movsd dword es:[edi], dword [esi]
push 1
push edx
mov dword [ebp + 4], eax
mov dword [esp + 0xc8], eax
call sym.convertifd.exe_AddEntity
add esp, 0xc
test eax, eax
jl 0x4d12f2
push eax
call sym.convertifd.exe_AddToUndoDeleteList
add esp, 4
mov eax, dword [esp + 0x100]
cmp dword [ebp + 0xc], eax
jle case.0x4d0da3.3
mov ecx, 9
mov esi, ebp
lea edi, [esp + 0xd4]
rep movsd dword es:[edi], dword [esi]
push 0x6a2d18
mov dword [ebp + 0xc], eax
mov dword [esp + 0xdc], eax
lea eax, [esp + 0xd8]
push 1
push eax
call sym.convertifd.exe_AddEntity
add esp, 0xc
test eax, eax
jl 0x4d12f2
push eax
call sym.convertifd.exe_AddToUndoDeleteList
add esp, 4
push ebx
call sym.convertifd.exe_AddToPicklist
add esp, 4
mov eax, dword [esp + 0x1c]
add eax, 1
cmp eax, dword [0x6078e4]
mov dword [esp + 0x1c], eax
jl 0x4d0d55
jmp 0x4d0d2e
push 0xfffffffffffffff9
call sym.convertifd.exe_IpMessage
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xe8
ret
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
mov dword [0x6a270c], ecx
mov eax, 1
pop ebx
add esp, 0xe8
ret